Skip to content

Commit

Permalink
Fix Foreign key name
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 authored Nov 1, 2017
1 parent 2177d2a commit 980d960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/tutorials-and-examples/cms/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tables::
tag_id INT NOT NULL,
PRIMARY KEY (article_id, tag_id),
FOREIGN KEY tag_key(tag_id) REFERENCES tags(id),
FOREIGN KEY bookmark_key(article_id) REFERENCES articles(id)
FOREIGN KEY article_key(article_id) REFERENCES articles(id)
);

INSERT INTO users (email, password, created, modified)
Expand Down

0 comments on commit 980d960

Please sign in to comment.