Skip to content

Commit

Permalink
Merge pull request #102 from hackolade/HCK-4228-chulanovskyi-snowflak…
Browse files Browse the repository at this point in the history
…e-error

fix: added quotes escape for the schema name
  • Loading branch information
mtseluiko authored Nov 14, 2023
2 parents b9019b2 + 0d0992f commit 449b086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forward_engineering/ddlProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ module.exports = (baseProvider, options, app) => {
constraint: fkData.name ? `CONSTRAINT ${getName(schemaData.isCaseSensitive, fkData.name)} ` : '',
columns: foreignKeys,
primary_table: getFullName(
fkData.primarySchemaName || schemaData.schemaName,
getName(fkData.primarySchemaName || schemaData.schemaName),
getName(fkData.primaryTableIsCaseSensitive, fkData.primaryTable),
),
primary_columns: primaryKeys,
Expand Down

0 comments on commit 449b086

Please sign in to comment.