임관시 $general['nations'] 를 Json Array로 변경

This commit is contained in:
2018-06-13 02:21:31 +09:00
parent f2803291ab
commit b68c13c4f2
5 changed files with 37 additions and 23 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ CREATE TABLE `general` (
`name` CHAR(32) NOT NULL COLLATE 'utf8mb4_bin',
`name2` CHAR(32) NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
`nation` INT(6) NULL DEFAULT '0',
`nations` CHAR(64) NULL DEFAULT ',0,',
`nations` VARCHAR(64) NOT NULL DEFAULT '[0]',
`city` INT(6) NULL DEFAULT '3',
`troop` INT(6) NULL DEFAULT '0',
`leader` INT(3) NULL DEFAULT '50',