왕조 일람 테이블 구조 변경.

This commit is contained in:
2018-06-25 01:53:16 +09:00
parent 0e95259b14
commit 2772161144
2 changed files with 13 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ d_log/*.txt
d_log/*.zip
sess_*
*/logs/*.txt
*/logs/*/*.txt
err.txt
che/.htaccess
kwe/.htaccess
+12 -2
View File
@@ -398,11 +398,11 @@ ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
##
###########################################################################
CREATE TABLE if not exists `ng_games` (
CREATE TABLE `ng_games` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`server_id` CHAR(20) NOT NULL,
`date` DATETIME NOT NULL,
`united` INT(1) NOT NULL DEFAULT '0',
`winner_nation` INT(11) NULL DEFAULT NULL,
`aux` TEXT NOT NULL COMMENT 'json',
PRIMARY KEY (`id`),
UNIQUE INDEX `server_id` (`server_id`),
@@ -410,6 +410,16 @@ CREATE TABLE if not exists `ng_games` (
)
ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
CREATE TABLE `ng_old_nations` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`server_id` CHAR(20) NOT NULL DEFAULT '0',
`nation` INT(11) NOT NULL DEFAULT '0',
`data` LONGTEXT NOT NULL DEFAULT '0' COMMENT 'json',
PRIMARY KEY (`id`),
INDEX `server_id` (`server_id`, `nation`)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
create table if not exists emperior (
no int(6) not null auto_increment,
phase char(255) default '',