// Removed 1 useless key in the database

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17455 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-09-21 11:53:13 +00:00
parent acbe68472e
commit 2869859748
@@ -31,7 +31,8 @@ function p15017_add_id_shop_to_primary_key()
$old_indexes = array(
'category_lang_index' => 'category_lang',
'shipper_lang_index' => 'carrier_lang',
'product_lang_index' => 'product_lang'
'product_lang_index' => 'product_lang',
'id_category_shop' => 'category_shop'
);
foreach ($old_indexes as $index => $table)
if (Db::getInstance()->executeS('SHOW INDEX FROM `'._DB_PREFIX_.$table.'` WHERE Key_name = "'.$index.'"'))