mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
try to comment out earlier patch
This commit is contained in:
@@ -337,13 +337,14 @@ export class AlterPlan {
|
||||
return opRes;
|
||||
}),
|
||||
op,
|
||||
].filter(op => {
|
||||
// filter duplicated drops
|
||||
const existingDrop = this.operations.find(
|
||||
o => o.operationType == 'dropConstraint' && o.oldObject === op['oldObject']
|
||||
);
|
||||
return existingDrop == null;
|
||||
});
|
||||
];
|
||||
// .filter(op => {
|
||||
// // filter duplicated drops
|
||||
// const existingDrop = this.operations.find(
|
||||
// o => o.operationType == 'dropConstraint' && o.oldObject === op['oldObject']
|
||||
// );
|
||||
// return existingDrop == null;
|
||||
// })
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user