Skip to content

Commit

Permalink
Merge branch 'main' into mofterdinger-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mofterdinger authored Jun 5, 2024
2 parents 19cf840 + abd42dd commit f2b5617
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 f2b5617

Please sign in to comment.