왕조 일람 테이블 구조 변경.
This commit is contained in:
@@ -15,6 +15,7 @@ d_log/*.txt
|
|||||||
d_log/*.zip
|
d_log/*.zip
|
||||||
sess_*
|
sess_*
|
||||||
*/logs/*.txt
|
*/logs/*.txt
|
||||||
|
*/logs/*/*.txt
|
||||||
err.txt
|
err.txt
|
||||||
che/.htaccess
|
che/.htaccess
|
||||||
kwe/.htaccess
|
kwe/.htaccess
|
||||||
|
|||||||
+12
-2
@@ -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,
|
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
`server_id` CHAR(20) NOT NULL,
|
`server_id` CHAR(20) NOT NULL,
|
||||||
`date` DATETIME 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',
|
`aux` TEXT NOT NULL COMMENT 'json',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE INDEX `server_id` (`server_id`),
|
UNIQUE INDEX `server_id` (`server_id`),
|
||||||
@@ -410,6 +410,16 @@ CREATE TABLE if not exists `ng_games` (
|
|||||||
)
|
)
|
||||||
ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
|
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 (
|
create table if not exists emperior (
|
||||||
no int(6) not null auto_increment,
|
no int(6) not null auto_increment,
|
||||||
phase char(255) default '',
|
phase char(255) default '',
|
||||||
|
|||||||
Reference in New Issue
Block a user