fix: correct reference from wholeNewDb to wholeOldDb in AlterPlan class

This commit is contained in:
Stela Augustinova
2025-12-08 15:27:45 +01:00
parent 7579f6e42a
commit 12e6afbaad

View File

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