|
|
@ -1444,4 +1444,11 @@ CREATE TABLE `tab_promote_game_available_balance` (
|
|
|
|
-- 2020-03-05 zyx spend添加索引
|
|
|
|
-- 2020-03-05 zyx spend添加索引
|
|
|
|
ALTER TABLE `tab_spend`
|
|
|
|
ALTER TABLE `tab_spend`
|
|
|
|
ADD INDEX `pay_channel`(`pay_way`, `pay_status`, `game_id`) USING BTREE,
|
|
|
|
ADD INDEX `pay_channel`(`pay_way`, `pay_status`, `game_id`) USING BTREE,
|
|
|
|
ADD INDEX `pay_channel_type`(`pay_status`, `pay_way`) USING BTREE;
|
|
|
|
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;
|