diff --git a/forward_engineering/ddlProvider/ddlProvider.js b/forward_engineering/ddlProvider/ddlProvider.js index 9230563..3e99967 100644 --- a/forward_engineering/ddlProvider/ddlProvider.js +++ b/forward_engineering/ddlProvider/ddlProvider.js @@ -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) {