Skip to content

Commit

Permalink
HCK-8608: Revert comments logic for a plain view (#142)
Browse files Browse the repository at this point in the history
* HCK-8608: revert comment label for plain view
  • Loading branch information
Nightlngale authored Nov 1, 2024
1 parent 9cd9eb1 commit 03c2647
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions forward_engineering/ddlProvider/ddlProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,7 @@ module.exports = (baseProvider, options, app) => {
},

constructViewObjectForComment({ viewData }) {
const object = 'VIEW';

return viewData.materialized ? 'MATERIALIZED ' + object : object;
return viewData.materialized ? 'MATERIALIZED VIEW' : 'TABLE';
},

createView(viewData, dbData, isActivated) {
Expand Down

0 comments on commit 03c2647

Please sign in to comment.