Skip to content

Commit

Permalink
HCK-7931: fix commenting out of DROP statements with a checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii4as committed Sep 9, 2024
1 parent a49de3c commit 41f739f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const getDeleteColumnsScripts = (app, definitions, provider, dbVersion) => entit

const dropIndexScriptDto = AlterScriptDto.getInstance([dropIndexScript], true, true);
const addIndexScriptDto = AlterScriptDto.getInstance([addIndexScript], true, false);
const deleteColumnScriptDto = AlterScriptDto.getInstance([deleteColumnScript], true, false);
const deleteColumnScriptDto = AlterScriptDto.getInstance([deleteColumnScript], true, true);

if (modifyScript.type === 'new') {
return [dropIndexScriptDto, ...(modifyScript.script || []), addIndexScriptDto].filter(Boolean);
Expand Down

0 comments on commit 41f739f

Please sign in to comment.