Commit ec33bd92 authored by arjen@george.bitbike.com's avatar arjen@george.bitbike.com
Browse files

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

parent 6a95858c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13525,7 +13525,7 @@ CREATE TABLE shirt (
    id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
    style ENUM('t-shirt', 'polo', 'dress') 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)
);