mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
fix
This commit is contained in:
@@ -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 [];
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ export interface DbDiffOptions {
|
||||
ignoreConstraintNames?: boolean;
|
||||
|
||||
noDropTable?: boolean;
|
||||
allowTableRecreateWhenNoDrop?: boolean;
|
||||
allowTableRecreate?: boolean;
|
||||
deletedTablePrefix?: string;
|
||||
|
||||
noDropColumn?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user