// Copy fix from trunk: #PSCFI-4397 - Missing unique index on PREFIX_category_product

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11106 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean committed 2011-12-12 09:41:44 +00:00
1 parent 2df30b8f8e
commit b2c36c562b
1 file changed
+1 -1
+1 -1
View File
@@ -333,7 +333,7 @@ CREATE TABLE `PREFIX_category_product` (
`id_category` int(10) unsigned NOT NULL, `id_category` int(10) unsigned NOT NULL,
`id_product` int(10) unsigned NOT NULL, `id_product` int(10) unsigned NOT NULL,
`position` int(10) unsigned NOT NULL default '0', `position` int(10) unsigned NOT NULL default '0',
KEY `category_product_index` (`id_category`,`id_product`), UNIQUE KEY `category_product_index` (`id_category`,`id_product`),
INDEX (`id_product`) INDEX (`id_product`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8; ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;