From f771cc440ed049c9309daaee372edac10e895b12 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 11 Nov 2024 17:43:55 +0800 Subject: [PATCH] 1 --- database/wheeldb.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/database/wheeldb.sql b/database/wheeldb.sql index b1f650f8..973c6abd 100644 --- a/database/wheeldb.sql +++ b/database/wheeldb.sql @@ -83,7 +83,8 @@ CREATE TABLE `t_chip` ( `item_num` int(11) NOT NULL DEFAULT '0' COMMENT '道具数量', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', - UNIQUE KEY `uk_account_id` (`account_id`), + KEY `idx_account_id` (`account_id`), + KEY `idx_account_id_item_id` (`account_id`, `item_id`), PRIMARY KEY (`idx`) ) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */;