Skip to content

Commit

Permalink
HCK-7455: FE cross-target relationships in container level script (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii4as authored Aug 1, 2024
1 parent 785ab01 commit d171c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forward_engineering/ddlProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,12 +470,12 @@ module.exports = (baseProvider, options, app) => {
const foreignKeyStatement = assignTemplates(templates.alterTableForeignKey, {
constraint: fkData.name ? `CONSTRAINT ${getName(schemaData.isCaseSensitive, fkData.name)} ` : '',
table_name: getFullName(
schemaData.schemaName,
fkData.foreignSchemaName,
getName(fkData.foreignTableIsCaseSensitive, fkData.foreignTable),
),
columns: foreignKeys,
primary_table: getFullName(
schemaData.schemaName,
fkData.primarySchemaName,
getName(fkData.primaryTableIsCaseSensitive, fkData.primaryTable),
),
primary_columns: primaryKeys,
Expand Down

0 comments on commit d171c73

Please sign in to comment.