allowTableMarkDropped WIP

This commit is contained in:
Jan Prochazka
2024-10-30 08:58:05 +01:00
parent de66e75eb2
commit 3a03c82f8d
5 changed files with 58 additions and 5 deletions

View File

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