Skip to content

Commit

Permalink
allow FE of FK relationships for tables without a schema (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
taras-dubyk authored Feb 2, 2024
1 parent 63e9355 commit 1e5ceb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forward_engineering/helpers/relationshipHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const createSingleRelationship = (_, ddlProvider) => (relationship, entitiesJson
const childBucketName = prepareName(childTable?.bucketName);
const parentBucketName = prepareName(parentTable?.bucketName);

if (!parentTable || !childTable || !childBucketName || !parentBucketName) {
if (!parentTable || !childTable) {
return '';
}
const childFieldIds = getChildFieldIds(relationship);
Expand Down

0 comments on commit 1e5ceb1

Please sign in to comment.