You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current API does not provide a way to annotate a table with a foreign key constraint when the column is nullable. This type of constraint is very common, as it used for optional one-to-one relations (often marked as ? or 0|1 in database software).
I implemented new functions nullableForeignKeyOnPk and nullableForeignKeyOn to support this, and I will submit a pull request.
The current API does not provide a way to annotate a table with a foreign key constraint when the column is nullable. This type of constraint is very common, as it used for optional one-to-one relations (often marked as
?
or0|1
in database software).I implemented new functions
nullableForeignKeyOnPk
andnullableForeignKeyOn
to support this, and I will submit a pull request.tc-develop
DocumentationThe text was updated successfully, but these errors were encountered: