Commit acd5fe38 authored by unknown's avatar unknown

Fixup of foreign key example (noted by Jose Freitas).

parent 423d9d88
...@@ -13525,7 +13525,7 @@ CREATE TABLE shirt ( ...@@ -13525,7 +13525,7 @@ CREATE TABLE shirt (
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
style ENUM('t-shirt', 'polo', 'dress') NOT NULL, style ENUM('t-shirt', 'polo', 'dress') NOT NULL,
color ENUM('red', 'blue', 'orange', 'white', 'black') NOT NULL, color ENUM('red', 'blue', 'orange', 'white', 'black') NOT NULL,
owner SMALLINT UNSIGNED NOT NULL REFERENCES persons, owner SMALLINT UNSIGNED NOT NULL REFERENCES person(id),
PRIMARY KEY (id) PRIMARY KEY (id)
); );
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment