From ccaa9d3a78a1cc7e20e7cb2876d199e9df21a2f7 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 11 Mar 2020 14:34:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=85=AC=E4=BC=9A=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E7=BB=9F=E8=AE=A1sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Data/update.sql b/Data/update.sql index f6537638b..2b4e67000 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1444,4 +1444,11 @@ CREATE TABLE `tab_promote_game_available_balance` ( -- 2020-03-05 zyx spend添加索引 ALTER TABLE `tab_spend` ADD INDEX `pay_channel`(`pay_way`, `pay_status`, `game_id`) USING BTREE, -ADD INDEX `pay_channel_type`(`pay_status`, `pay_way`) USING BTREE; \ No newline at end of file +ADD INDEX `pay_channel_type`(`pay_status`, `pay_way`) USING BTREE; + +-- 为游戏统计新增spend索引 chenzhi 2020/03/11 +ALTER TABLE `tab_spend` +ADD INDEX `game_time`(`game_id`,`pay_time`) USING BTREE; +-- 为公会统计新增spend索引 chenzhi 2020/03/11 +ALTER TABLE `tab_spend` +ADD INDEX `promote_time`(`promote_id`,`pay_time`) USING BTREE; \ No newline at end of file