diff --git a/adm/newwinlist.php b/adm/newwinlist.php index 4f51abe70..ecc1217db 100644 --- a/adm/newwinlist.php +++ b/adm/newwinlist.php @@ -14,6 +14,7 @@ if(!sql_query(" DESCRIBE {$g5['new_win_table']} ", false)) { } else { $query_cp = sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['new_win_table']}` ( `nw_id` int(11) NOT NULL AUTO_INCREMENT, + `nw_division` varchar(10) NOT NULL DEFAULT 'both', `nw_device` varchar(10) NOT NULL DEFAULT 'both', `nw_begin_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `nw_end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', diff --git a/install/gnuboard5.sql b/install/gnuboard5.sql index e246d27ce..a180d229b 100644 --- a/install/gnuboard5.sql +++ b/install/gnuboard5.sql @@ -843,6 +843,7 @@ CREATE TABLE IF NOT EXISTS `g5_faq_master` ( DROP TABLE IF EXISTS `g5_new_win`; CREATE TABLE IF NOT EXISTS `g5_new_win` ( `nw_id` int(11) NOT NULL AUTO_INCREMENT, + `nw_division` varchar(10) NOT NULL DEFAULT 'both', `nw_device` varchar(10) NOT NULL DEFAULT 'both', `nw_begin_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `nw_end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',