mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 22:25: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('*****************RECREATED NEEDED', op, operationType, isAllowed);
|
||||||
// console.log(this.dialect);
|
// console.log(this.dialect);
|
||||||
|
|
||||||
if (this.opts.noDropTable && !this.opts.allowTableRecreateWhenNoDrop) {
|
if (!this.opts.allowTableRecreate) {
|
||||||
// skip this operation, as it cannot be achieved
|
// skip this operation, as it cannot be achieved
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export interface DbDiffOptions {
|
|||||||
ignoreConstraintNames?: boolean;
|
ignoreConstraintNames?: boolean;
|
||||||
|
|
||||||
noDropTable?: boolean;
|
noDropTable?: boolean;
|
||||||
allowTableRecreateWhenNoDrop?: boolean;
|
allowTableRecreate?: boolean;
|
||||||
deletedTablePrefix?: string;
|
deletedTablePrefix?: string;
|
||||||
|
|
||||||
noDropColumn?: boolean;
|
noDropColumn?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user