Skip to content

Commit

Permalink
fix: pass function arguments appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
chulanovskyi-bs committed Nov 15, 2023
1 parent 449b086 commit d585cbb
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 d585cbb

Please sign in to comment.