From 12e6afbaadfac0af65d53ec4f599c26f7e029fc4 Mon Sep 17 00:00:00 2001 From: Stela Augustinova Date: Mon, 8 Dec 2025 15:27:45 +0100 Subject: [PATCH] fix: correct reference from wholeNewDb to wholeOldDb in AlterPlan class --- packages/tools/src/alterPlan.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tools/src/alterPlan.ts b/packages/tools/src/alterPlan.ts index 1143ff165..e8fd88ae3 100644 --- a/packages/tools/src/alterPlan.ts +++ b/packages/tools/src/alterPlan.ts @@ -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;