general 테이블에서 갠메 파트 제거

This commit is contained in:
2018-02-22 02:09:59 +09:00
parent 34cd58d8f3
commit e5d923643d
+4 -44
View File
@@ -5,13 +5,12 @@
////////////////////////////////////////////////////////////////////////////
$general_schema = "
CREATE TABLE `general` (
`no` INT(11) NOT NULL AUTO_INCREMENT,
`owner` INT(11) NOT NULL DEFAULT '-1',
`conmsg` CHAR(255) NOT NULL DEFAULT '',
`npcmsg` CHAR(255) NULL DEFAULT '',
`npcid` INT(5) NULL DEFAULT '0',
`npcid` INT(5) NULL DEFAULT NULL,
`npc` INT(1) NULL DEFAULT '0',
`npc_org` INT(1) NULL DEFAULT '0',
`npcmatch` INT(3) NULL DEFAULT '0',
@@ -158,52 +157,13 @@ CREATE TABLE `general` (
`turn23` CHAR(14) NULL DEFAULT '00000000000000',
`recturn` CHAR(14) NULL DEFAULT '',
`resturn` CHAR(14) NULL DEFAULT '',
`msg0` CHAR(150) NULL DEFAULT '',
`msg0_type` INT(4) NULL DEFAULT '0',
`msg0_who` INT(9) NULL DEFAULT '0',
`msg0_when` DATETIME NULL DEFAULT NULL,
`msg1` CHAR(150) NULL DEFAULT '',
`msg1_type` INT(4) NULL DEFAULT '0',
`msg1_who` INT(9) NULL DEFAULT '0',
`msg1_when` DATETIME NULL DEFAULT NULL,
`msg2` CHAR(150) NULL DEFAULT '',
`msg2_type` INT(4) NULL DEFAULT '0',
`msg2_who` INT(9) NULL DEFAULT '0',
`msg2_when` DATETIME NULL DEFAULT NULL,
`msg3` CHAR(150) NULL DEFAULT '',
`msg3_type` INT(4) NULL DEFAULT '0',
`msg3_who` INT(9) NULL DEFAULT '0',
`msg3_when` DATETIME NULL DEFAULT NULL,
`msg4` CHAR(150) NULL DEFAULT '',
`msg4_type` INT(4) NULL DEFAULT '0',
`msg4_who` INT(9) NULL DEFAULT '0',
`msg4_when` DATETIME NULL DEFAULT NULL,
`msg5` CHAR(150) NULL DEFAULT '',
`msg5_type` INT(4) NULL DEFAULT '0',
`msg5_who` INT(9) NULL DEFAULT '0',
`msg5_when` DATETIME NULL DEFAULT NULL,
`msg6` CHAR(150) NULL DEFAULT '',
`msg6_type` INT(4) NULL DEFAULT '0',
`msg6_who` INT(9) NULL DEFAULT '0',
`msg6_when` DATETIME NULL DEFAULT NULL,
`msg7` CHAR(150) NULL DEFAULT '',
`msg7_type` INT(4) NULL DEFAULT '0',
`msg7_who` INT(9) NULL DEFAULT '0',
`msg7_when` DATETIME NULL DEFAULT NULL,
`msg8` CHAR(150) NULL DEFAULT '',
`msg8_type` INT(4) NULL DEFAULT '0',
`msg8_who` INT(9) NULL DEFAULT '0',
`msg8_when` DATETIME NULL DEFAULT NULL,
`msg9` CHAR(150) NULL DEFAULT '',
`msg9_type` INT(4) NULL DEFAULT '0',
`msg9_who` INT(9) NULL DEFAULT '0',
`msg9_when` DATETIME NULL DEFAULT NULL,
`msgindex` INT(2) NULL DEFAULT '9',
PRIMARY KEY (`no`),
INDEX `nation` (`nation`),
INDEX `city` (`city`),
INDEX `turntime` (`turntime`, `no`),
INDEX `owner` (`owner`)
INDEX `no_member` (`owner`),
INDEX `npc` (`npc`),
INDEX `npcid` (`npcid`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB