@deinossrl/dgp-agent 1.5.9 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +5 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1758,9 +1758,9 @@ async function executePgDump(command) {
|
|
|
1758
1758
|
params.schemas.forEach(schema => {
|
|
1759
1759
|
pgDumpArgs.push(`--schema=${schema}`);
|
|
1760
1760
|
});
|
|
1761
|
-
} else if (params.exclude_system_schemas === true
|
|
1761
|
+
} else if (params.exclude_system_schemas === true) {
|
|
1762
1762
|
// Si el usuario marcó "excluir schemas del sistema" y NO especificó schemas manualmente
|
|
1763
|
-
const
|
|
1763
|
+
const systemSchemas = [
|
|
1764
1764
|
'storage',
|
|
1765
1765
|
'auth',
|
|
1766
1766
|
'extensions',
|
|
@@ -1775,10 +1775,10 @@ async function executePgDump(command) {
|
|
|
1775
1775
|
'supabase_migrations'
|
|
1776
1776
|
];
|
|
1777
1777
|
|
|
1778
|
-
logInfo('Excluyendo schemas del sistema
|
|
1779
|
-
await addCommandLog('info', `Excluyendo ${
|
|
1778
|
+
logInfo('Excluyendo schemas del sistema...');
|
|
1779
|
+
await addCommandLog('info', `Excluyendo ${systemSchemas.length} schemas del sistema`);
|
|
1780
1780
|
|
|
1781
|
-
|
|
1781
|
+
systemSchemas.forEach(schema => {
|
|
1782
1782
|
pgDumpArgs.push(`--exclude-schema=${schema}`);
|
|
1783
1783
|
});
|
|
1784
1784
|
}
|