This commit is contained in:
SPRINX0\prochazka
2024-11-18 09:54:08 +01:00
parent b1893234c7
commit d92c08548b
2 changed files with 2 additions and 2 deletions

View File

@@ -459,7 +459,7 @@ export class AlterPlan {
// console.log('*****************RECREATED NEEDED', op, operationType, isAllowed);
// console.log(this.dialect);
if (this.opts.noDropTable && !this.opts.allowTableRecreateWhenNoDrop) {
if (!this.opts.allowTableRecreate) {
// skip this operation, as it cannot be achieved
return [];
}

View File

@@ -42,7 +42,7 @@ export interface DbDiffOptions {
ignoreConstraintNames?: boolean;
noDropTable?: boolean;
allowTableRecreateWhenNoDrop?: boolean;
allowTableRecreate?: boolean;
deletedTablePrefix?: string;
noDropColumn?: boolean;