From 3889e0235160b190be4f46c5b7e9b0aa0ab6ebb9 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 31 Mar 2014 13:27:30 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EB=B0=94=EA=B5=AC=EB=8B=88=20?= =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=ED=95=84=EB=93=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=ED=94=84=EB=A1=9C=EA=B7=B8=EB=9E=A8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/orderform.php | 10 --------- orderupgrade.php | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 10 deletions(-) create mode 100644 orderupgrade.php diff --git a/adm/shop_admin/orderform.php b/adm/shop_admin/orderform.php index 57be8d64a..a17b63b2b 100644 --- a/adm/shop_admin/orderform.php +++ b/adm/shop_admin/orderform.php @@ -77,16 +77,6 @@ if(!sql_query(" select ad_addr3 from {$g5['g5_shop_order_address_table']} limit sql_query(" ALTER TABLE `{$g5['g5_shop_order_address_table']}` ADD `ad_addr3` varchar(255) NOT NULL DEFAULT '' AFTER `ad_addr2` ", true); } - -// 배송비정보 필드 cart 테이블에 추가 -if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", false)) { - sql_query(" ALTER TABLE `{$g5['g5_shop_cart_table']}` - ADD `it_sc_type` tinyint(4) NOT NULL DEFAULT '0' AFTER `it_name`, - ADD `it_sc_method` tinyint(4) NOT NULL DEFAULT '0' AFTER `it_sc_type`, - ADD `it_sc_price` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_method`, - ADD `it_sc_minimum` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_price`, - ADD `it_sc_qty` int(11) NOT NULL DEFAULT '0' AFTER `it_sc_minimum` ", true); -} ?>
diff --git a/orderupgrade.php b/orderupgrade.php new file mode 100644 index 000000000..14a84ceca --- /dev/null +++ b/orderupgrade.php @@ -0,0 +1,39 @@ + \ No newline at end of file