Fixed wrong fk in product table

This commit is contained in:
Franck Allimant
2014-07-01 02:36:46 +02:00
parent ceb5b595a8
commit b4f3e3b60a
5 changed files with 72 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ CREATE TABLE `product`
FOREIGN KEY (`brand_id`)
REFERENCES `brand` (`id`)
ON UPDATE RESTRICT
ON DELETE RESTRICT
ON DELETE SET NULL
) ENGINE=InnoDB;
-- ---------------------------------------------------------------------