// little fix upgrader
This commit is contained in:
1 parent
b1ede6a53f
commit
5977ea12a7
1 file changed
-1
@@ -28,7 +28,6 @@
|
||||
function add_column_order_state_deleted_if_not_exists()
|
||||
{
|
||||
$column = Db::getInstance()->executeS('SHOW FIELDS FROM `'._DB_PREFIX_.'order_state` LIKE "deleted"');
|
||||
error(Db::getInstance()->getMsgError());
|
||||
if (empty($column))
|
||||
return Db::getInstance()->execute('ALTER TABLE `PREFIX_order_state`
|
||||
ADD COLUMN `deleted` tinyint(1) UNSIGNED NOT NULL default "0" AFTER `paid`');
|
||||
|
||||
Reference in new issue
Block a user