From b8e78ad21c44099fcaea14201640417a13076b02 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 23 Sep 2013 12:01:15 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B9=B4=ED=85=8C=EA=B3=A0=EB=A6=AC=20?= =?UTF-8?q?=EC=9D=B8=EC=A6=9D=EA=B4=80=EB=A0=A8=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/shop.extend2.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extend/shop.extend2.php b/extend/shop.extend2.php index 5e4876e53..141e2419a 100644 --- a/extend/shop.extend2.php +++ b/extend/shop.extend2.php @@ -540,4 +540,17 @@ if(!sql_query(" select od_refund_price from {$g5['g5_shop_order_table']} limit 1 sql_query(" ALTER TABLE `{$g5['g5_shop_order_table']}` ADD `od_refund_price` int(11) NOT NULL DEFAULT '0' AFTER `od_receipt_point` ", true); } + +// 카테고리 인증설정 필드명 변경 +if(sql_query(" select ca_hp_cert_use from {$g5['g5_shop_category_table']} limit 1 ", false)) { + sql_query(" ALTER TABLE `{$g5['g5_shop_category_table']}` + CHANGE `ca_hp_cert_use` `ca_cert_use` tinyint(4) NOT NULL DEFAULT '0', + CHANGE `ca_adult_cert_use` `ca_adult_use` tinyint(4) NOT NULL DEFAULT '0' ", true); +} + +if(!sql_query(" select ca_cert_use from {$g5['g5_shop_category_table']} limit 1 ", false)) { + sql_query(" ALTER TABLE `{$g5['g5_shop_category_table']}` + ADD `ca_cert_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `ca_mb_id`, + ADD `ca_adult_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `ca_cert_use` ", true); +} ?>