// prefix 2nd time
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15879 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
f96d1be863
commit
17e509c84e
1 file changed
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
function drop_image_type_non_unique_index()
|
function drop_image_type_non_unique_index()
|
||||||
{
|
{
|
||||||
$index = Db::getInstance()->executeS('SHOW index FROM `'._DB_PREFIX_.'image_type where column_name = "name" and non_unique=1');
|
$index = Db::getInstance()->executeS('SHOW index FROM `'._DB_PREFIX_.'image_type` where column_name = "name" and non_unique=1');
|
||||||
// do not use pSql, this function is not defined
|
// do not use pSql, this function is not defined
|
||||||
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'image_type` DROP INDEX "'.$index.'"');
|
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'image_type` DROP INDEX "'.$index.'"');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user