This commit is contained in:
Jan Prochazka
2024-11-18 12:40:53 +01:00
parent 72786e5dbb
commit 06ed9d7dfc

View File

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