[-] INSTALLER : Add missing key on image product

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15689 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
gCharmes
2012-05-25 13:16:36 +00:00
parent ae3e40b0b7
commit aadfad0659
3 changed files with 23 additions and 1 deletions
+2 -1
View File
@@ -871,7 +871,8 @@ CREATE TABLE `PREFIX_image` (
`cover` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`id_image`),
KEY `image_product` (`id_product`),
KEY `id_product_cover` (`id_product`,`cover`)
KEY `id_product_cover` (`id_product`,`cover`),
UNIQUE KEY `idx_product_image` (`id_image`, `id_product`, `cover`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
CREATE TABLE `PREFIX_image_lang` (