fiw typo in schema model

This commit is contained in:
Manuel Raynaud
2013-07-03 15:05:08 +02:00
parent 89ca995f29
commit 0d1e0c6a2c
5 changed files with 7 additions and 3 deletions

View File

@@ -477,8 +477,8 @@ CREATE TABLE `customer`
`updated_at` DATETIME,
PRIMARY KEY (`id`),
UNIQUE INDEX `ref_UNIQUE` (`ref`),
INDEX `idx_ customer_customer_title_id` (`customer_title_id`),
CONSTRAINT `fk_ customer_customer_title_id`
INDEX `idx_customer_customer_title_id` (`customer_title_id`),
CONSTRAINT `fk_customer_customer_title_id`
FOREIGN KEY (`customer_title_id`)
REFERENCES `customer_title` (`id`)
ON UPDATE RESTRICT