[-] INSTALLER : Add missing key on image product

This commit is contained in:
gCharmes committed 2012-05-25 13:16:36 +00:00
1 parent 3e685234b2
commit 048bb8e4aa
3 files changed
+23 -1

No files matched your search

+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` (