From 286985974880117c27f182a31ab25dc0167931c3 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Fri, 21 Sep 2012 11:53:13 +0000 Subject: [PATCH] // 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 --- install-dev/upgrade/php/p15017_add_id_shop_to_primary_key.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-dev/upgrade/php/p15017_add_id_shop_to_primary_key.php b/install-dev/upgrade/php/p15017_add_id_shop_to_primary_key.php index c608fb030..da1d2946e 100644 --- a/install-dev/upgrade/php/p15017_add_id_shop_to_primary_key.php +++ b/install-dev/upgrade/php/p15017_add_id_shop_to_primary_key.php @@ -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.'"'))