Skip to content

Commit 1bd4725

Browse files
HCK-14918: comment custom scripts if entity is inactive (#229)
* HCK-14918: comment custom scripts if entity is inactive * m
1 parent 2a2dc88 commit 1bd4725

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

forward_engineering/ddlProvider/ddlProvider.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,10 @@ module.exports = (baseProvider, options, app) => {
704704
return statement;
705705
},
706706

707+
commentStatement(statement) {
708+
return commentIfDeactivated(statement, { isActivated: false });
709+
},
710+
707711
/**
708712
* @param tableName {string}
709713
* @param oldColumnName {string}

0 commit comments

Comments
 (0)