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