Skip to content

Commit

Permalink
HCK-4263: fixed invalid ddl for columns specification in cross schema…
Browse files Browse the repository at this point in the history
… view (#75)

      Co-authored-by: chulanovskyi-bs <56116665+chulanovskyi-bs@users.noreply.github.com>
  • Loading branch information
WilhelmWesser authored Jan 2, 2024
1 parent 6b7fc84 commit 194ccb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion forward_engineering/ddlProvider/ddlHelpers/viewHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = ({ _, wrapInQuotes }) => {
return result;
}

let tableName = wrapInQuotes(key.tableName);
const tableName = `${wrapInQuotes(key.dbName)}.${wrapInQuotes(key.tableName)}`;

if (!result.tables.includes(tableName)) {
result.tables.push(tableName);
Expand Down
1 change: 1 addition & 0 deletions forward_engineering/ddlProvider/ddlProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ module.exports = (baseProvider, options, app) => {
tableName: data.entityName,
alias: data.alias,
isActivated: data.isActivated,
dbName: data.dbName,
};
},

Expand Down

0 comments on commit 194ccb4

Please sign in to comment.