From d585cbbfcdbf10c20ac9b03f7a54f24188bee0f9 Mon Sep 17 00:00:00 2001 From: chulanovskyi Date: Wed, 15 Nov 2023 11:25:07 +0200 Subject: [PATCH] fix: pass function arguments appropriately --- forward_engineering/ddlProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forward_engineering/ddlProvider.js b/forward_engineering/ddlProvider.js index 702e0e10..d4543d4b 100644 --- a/forward_engineering/ddlProvider.js +++ b/forward_engineering/ddlProvider.js @@ -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,