Fix syntax error
This commit is contained in:
parent
5267e9b2a0
commit
c643eb1318
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ switch ($step) {
|
||||||
$database->query('CREATE TABLE `products` (
|
$database->query('CREATE TABLE `products` (
|
||||||
`id` int NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
`id` int NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||||
`wishlist` int NOT NULL,
|
`wishlist` int NOT NULL,
|
||||||
`url` VARCHAR(255) NOT NULL
|
`url` VARCHAR(255) NOT NULL,
|
||||||
FOREIGN KEY (`wishlist`)
|
FOREIGN KEY (`wishlist`)
|
||||||
REFERENCES `wishlists` (id)
|
REFERENCES `wishlists` (id)
|
||||||
ON DELETE CASCADE
|
ON DELETE CASCADE
|
||||||
|
|
Loading…
Reference in a new issue