From 4a8a8a91f149417489c2c85766a4637c5de57128 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 18 Nov 2013 16:09:37 +0900 Subject: [PATCH] =?UTF-8?q?it=5Fupdate=5Ftime=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1=20#323?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/shop.extend2.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extend/shop.extend2.php b/extend/shop.extend2.php index a71c1e6cf..f78e6e72a 100644 --- a/extend/shop.extend2.php +++ b/extend/shop.extend2.php @@ -691,4 +691,10 @@ if(!sql_query(" select it_noti_qty from {$g5['g5_shop_item_table']} limit 1 ", f sql_query(" ALTER TABLE `{$g5['g5_shop_item_table']}` ADD `it_noti_qty` int(11) NOT NULL DEFAULT '0' AFTER `it_stock_qty` ", true); } + +// 상품테이블 업데이트 일시 필드 추가 +if(!sql_query(" select it_update_time from {$g5['g5_shop_item_table']} limit 1 ", false)) { + sql_query(" ALTER TABLE `{$g5['g5_shop_item_table']}` + ADD `it_update_time` DATETIME NOT NULL AFTER `it_time` ", true); +} ?>