Skip to content

Commit

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

fix: pass function arguments appropriately
  • Loading branch information
mtseluiko authored Nov 15, 2023
2 parents 449b086 + d585cbb commit 3148a85
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(
getName(fkData.primarySchemaName || schemaData.schemaName),
getName(schemaData.isCaseSensitive, fkData.primarySchemaName || schemaData.schemaName),
getName(fkData.primaryTableIsCaseSensitive, fkData.primaryTable),
),
primary_columns: primaryKeys,
Expand Down

0 comments on commit 3148a85

Please sign in to comment.