Permalink
Browse files

Merge branch 'release' of https://github.com/PrestaShop/PrestaShop in…

…to release
  • Loading branch information...
2 parents 6ebe135 + 266180c commit ba62406508e37cd6402d09ed8715d32a4ec94f16 @rGaillard rGaillard committed Mar 25, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 install-dev/upgrade/php/p15016_add_missing_columns.php
@@ -38,6 +38,9 @@ function p15016_add_missing_columns()
if (!in_array('id_shop', $list_fields))
if (!Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'reinsurance` ADD `id_shop` INT(10) NOT NULL default "1" AFTER id_reinsurance'))
$errors[] = Db::getInstance()->getMsgError();
+ if (in_array('filename', $list_fields))
+ if (!Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'reinsurance` CHANGE `filename` `file_name` VARCHAR(100) NOT NULL'))
+ $errors[] = Db::getInstance()->getMsgError();
}
$id_module = Db::getInstance()->getValue('SELECT id_module FROM `'._DB_PREFIX_.'module` WHERE name="blocktopmenu"');

0 comments on commit ba62406

Please sign in to comment.