diff --git a/install/thelia.sql b/install/thelia.sql index d4a17737b..5da479ced 100755 --- a/install/thelia.sql +++ b/install/thelia.sql @@ -467,8 +467,8 @@ CREATE TABLE `customer` `updated_at` DATETIME, PRIMARY KEY (`id`), UNIQUE INDEX `ref_UNIQUE` (`ref`), - INDEX `FI_address_customer_title_id` (`title_id`), - CONSTRAINT `fk_address_customer_title_id` + INDEX `FI_customer_customer_title_id` (`title_id`), + CONSTRAINT `fk_customer_customer_title_id` FOREIGN KEY (`title_id`) REFERENCES `customer_title` (`id`) ON UPDATE RESTRICT diff --git a/local/config/schema.xml b/local/config/schema.xml index db538dacf..16e894112 100755 --- a/local/config/schema.xml +++ b/local/config/schema.xml @@ -339,7 +339,7 @@ - +