Revert "fix: correct reference from wholeNewDb to wholeOldDb in AlterPlan class"

This reverts commit 12e6afbaad.
This commit is contained in:
Jan Prochazka
2025-12-08 16:05:50 +01:00
parent 12e6afbaad
commit 1b5646f526

View File

@@ -504,7 +504,7 @@ export class AlterPlan {
return []; return [];
} }
const table = this.wholeOldDb.tables.find( const table = this.wholeNewDb.tables.find(
x => x.pureName == op[objectField].pureName && x.schemaName == op[objectField].schemaName x => x.pureName == op[objectField].pureName && x.schemaName == op[objectField].schemaName
); );
this.recreates.tables += 1; this.recreates.tables += 1;