-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track foreign key
ON DELETE
setting in the internal schema represen…
…tation (#311) Add the `ON DELETE` setting of a foreign key to the information stored about the key in the internal schema representation. The schema representation for a foreign key now looks like: ```json { "some_table": { ... "foreignKeys": { "fk_users_id": { "name": "fk_users_id", "columns": [ "user_id" ], "onDelete": "NO ACTION", "referencedTable": "users", "referencedColumns": [ "id" ] } } } } ``` Fixes #309
- Loading branch information
1 parent
099a443
commit c88c060
Showing
3 changed files
with
69 additions
and
3 deletions.
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
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
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