Revert "try to comment out earlier patch"

This reverts commit 955ca99cf3.
This commit is contained in:
Jan Prochazka
2025-12-09 12:56:47 +01:00
parent 955ca99cf3
commit 377cd64556

View File

@@ -337,14 +337,13 @@ 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;
}