-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3d3553
commit 3403dec
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/node_modules/typeorm/metadata-builder/RelationJoinColumnBuilder.js b/node_modules/typeorm/metadata-builder/RelationJoinColumnBuilder.js | ||
index aefbf6f..0f96b64 100644 | ||
--- a/node_modules/typeorm/metadata-builder/RelationJoinColumnBuilder.js | ||
+++ b/node_modules/typeorm/metadata-builder/RelationJoinColumnBuilder.js | ||
@@ -82,6 +82,7 @@ class RelationJoinColumnBuilder { | ||
args: { | ||
name: this.connection.namingStrategy.relationConstraintName(relation.entityMetadata.tableName, foreignKey.columns.map((column) => column.databaseName)), | ||
target: relation.entityMetadata.target, | ||
+ deferrable: relation.deferrable, | ||
}, | ||
}); | ||
uniqueConstraint.build(this.connection.namingStrategy); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters