// Removed 1 useless key in the database

This commit is contained in:
dMetzger
2012-09-21 11:53:13 +00:00
parent 967483acbd
commit a6018fb849
@@ -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.'"'))