From 6a3297f5d9af8b0912406810a2efb6401569a5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=A5=EC=84=A0=EA=B7=BC?= Date: Tue, 16 Jul 2019 04:37:48 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=98=ED=8C=8C=EB=9E=8C=EB=B3=B4=EB=93=9C?= =?UTF-8?q?=201.2.0=20-=20=EB=8C=80=EA=B7=9C=EB=AA=A8=20=EC=97=85=EB=8D=B0?= =?UTF-8?q?=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wheeparam/config/wheeparam.sql | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/wheeparam/config/wheeparam.sql b/wheeparam/config/wheeparam.sql index 5978f96..c6804c2 100644 --- a/wheeparam/config/wheeparam.sql +++ b/wheeparam/config/wheeparam.sql @@ -125,20 +125,21 @@ PRIMARY KEY (`brd_key`) DROP TABLE IF EXISTS `wb_board_comment`; CREATE TABLE `wb_board_comment` ( `cmt_idx` int(10) unsigned NOT NULL AUTO_INCREMENT, - `cmt_num` int(10) unsigned NOT NULL DEFAULT '0', - `cmt_parent` int(10) unsigned NOT NULL DEFAULT '0', + `cmt_num` int(10) unsigned NOT NULL DEFAULT 0, + `cmt_parent` int(10) unsigned NOT NULL DEFAULT 0, `cmt_reply` varchar(5) NOT NULL DEFAULT '', `brd_key` varchar(20) NOT NULL DEFAULT '', - `post_idx` int(10) unsigned NOT NULL DEFAULT '0', - `mem_userid` varchar(50) NOT NULL DEFAULT '', - `mem_nickname` varchar(20) NOT NULL DEFAULT '', - `mem_password` char(32) NOT NULL, - `cmt_regtime` datetime NOT NULL, - `cmt_modtime` datetime NOT NULL, + `post_idx` int(10) unsigned NOT NULL DEFAULT 0, + `cmt_nickname` varchar(20) NOT NULL DEFAULT '', + `cmt_password` char(32) NOT NULL, `cmt_content` text NOT NULL, - `cmt_ip` int(10) unsigned NOT NULL DEFAULT '0', + `cmt_ip` int(10) unsigned NOT NULL DEFAULT 0, `cmt_status` enum('Y','N','B') NOT NULL DEFAULT 'Y', `cmt_mobile` enum('Y','N') NOT NULL DEFAULT 'N', + `reg_user` int(10) unsigned NOT NULL DEFAULT 0, + `reg_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `upd_user` int(10) unsigned NOT NULL DEFAULT 0, + `upd_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`cmt_idx`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;