From 5ae7d5058954c43e4cbd64702b54dffe057552bc Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 4 Nov 2013 15:06:26 +0900 Subject: [PATCH] =?UTF-8?q?ct=5Fstatus=20=ED=95=84=EB=93=9C=20=ED=83=80?= =?UTF-8?q?=EC=9E=85=20=EB=B3=80=EA=B2=BD=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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extend/shop.extend2.php b/extend/shop.extend2.php index 89a16d1a9..1107521c0 100644 --- a/extend/shop.extend2.php +++ b/extend/shop.extend2.php @@ -637,4 +637,12 @@ if(!sql_query(" DESCRIBE `{$g5['g5_shop_order_delete_table']}` ", false)) { PRIMARY KEY (`de_id`) )", true); } + +// 장바구니 테이블에 입금 상태 추가 +$sql = " SHOW COLUMNS from {$g5['g5_shop_cart_table']} LIKE 'ct_status' "; +$row= sql_fetch($sql); +if(stripos($row['Type'], 'enum') !== false) { + sql_query(" ALTER TABLE `{$g5['g5_shop_cart_table']}` + CHANGE `ct_status` `ct_status` varchar(255) NOT NULL DEFAULT '' ", true); +} ?>