Skip to content

Commit

Permalink
Update guides/databases.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bugwelle authored Jun 5, 2024
1 parent 53e8e0e commit acac8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ CREATE TABLE Books (
author_ID INTEGER, -- generated foreign key field
...,
PRIMARY KEY(ID),
CONSTRAINT Books_author -- // [!code focus]
CONSTRAINT Books_author -- constraint is explicitly named // [!code focus]
FOREIGN KEY(author_ID) -- link generated foreign key field author_ID ...
REFERENCES Authors(ID) -- ... with primary key field ID of table Authors
ON UPDATE RESTRICT
Expand Down

0 comments on commit acac8b2

Please sign in to comment.