// remove not useful comments
This commit is contained in:
1 parent
e4e6893b5c
commit
6fe9ed9151
1 file changed
-17
@@ -121,7 +121,6 @@ function p15012_add_missing_columns()
|
|||||||
$q_list['orders']['id_shop_group']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'orders`
|
$q_list['orders']['id_shop_group']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'orders`
|
||||||
CHANGE `id_shop_group` id_shop_group int(11) unsigned NOT NULL DEFAULT "1"';
|
CHANGE `id_shop_group` id_shop_group int(11) unsigned NOT NULL DEFAULT "1"';
|
||||||
|
|
||||||
|
|
||||||
$q_list['product']['unity']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'product`
|
$q_list['product']['unity']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'product`
|
||||||
CHANGE `unity` unity varchar(255) DEFAULT NULL';
|
CHANGE `unity` unity varchar(255) DEFAULT NULL';
|
||||||
|
|
||||||
@@ -158,22 +157,6 @@ function p15012_add_missing_columns()
|
|||||||
$q_list['carrier']['need_range']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'carrier`
|
$q_list['carrier']['need_range']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'carrier`
|
||||||
CHANGE `need_range` need_range tinyint(1) unsigned NOT NULL DEFAULT "0" AFTER shipping_external';
|
CHANGE `need_range` need_range tinyint(1) unsigned NOT NULL DEFAULT "0" AFTER shipping_external';
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
$q_list['cart_product']['']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'TABLE `
|
|
||||||
DROP ``';
|
|
||||||
$q_list['TABLE']['']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'TABLE `
|
|
||||||
DROP ``';
|
|
||||||
$q_list['TABLE']['']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'TABLE `
|
|
||||||
DROP ``';
|
|
||||||
$q_list['TABLE']['']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'TABLE `
|
|
||||||
DROP ``';
|
|
||||||
$q_list['TABLE']['']['mod'] = 'ALTER TABLE `'._DB_PREFIX_.'TABLE `
|
|
||||||
DROP ``';
|
|
||||||
*/
|
|
||||||
// column must NOT exists
|
|
||||||
|
|
||||||
|
|
||||||
foreach($q_list as $table => $cols)
|
foreach($q_list as $table => $cols)
|
||||||
{
|
{
|
||||||
if (empty($table))
|
if (empty($table))
|
||||||
|
|||||||
Reference in new issue
Block a user