시나리오 json 파일에서 받아오는 규격 확장

국가를 'string'으로 표기 가능하도록 변경
전콘 번호를 'string'으로 표기 가능하도록 변경
This commit is contained in:
2018-05-28 23:08:59 +09:00
parent 30e2432fc3
commit d9f6f7956e
5 changed files with 45 additions and 21 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ CREATE TABLE `general` (
`refresh` INT(6) NULL DEFAULT '0',
`logcnt` INT(6) NULL DEFAULT '1',
`refcnt` INT(6) NULL DEFAULT '1',
`picture` CHAR(32) NOT NULL,
`picture` VARCHAR(40) NOT NULL,
`imgsvr` INT(1) NULL DEFAULT '0',
`name` CHAR(32) NOT NULL COLLATE 'utf8mb4_bin',
`name2` CHAR(32) NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
@@ -370,7 +370,7 @@ create table if not exists hall (
nation char(12) default '',
data int(5) default 0,
color char(12) default '',
picture char(32) default '',
picture varchar(40) default '',
PRIMARY KEY (no),
UNIQUE INDEX `type` (`type`, `rank`)