diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 8e9ad83d..348423cd 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -695,7 +695,8 @@ CREATE TABLE `t_battle_settlement_single` ( `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`), - UNIQUE KEY `account_id_battle_uniid` (`account_id`, `battle_uuid`) + UNIQUE KEY `account_id_battle_uniid` (`account_id`, `battle_uuid`), + KEY `idx_account_id` (`account_id`) ) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */;