diff --git a/Data/update.sql b/Data/update.sql index 98e80d4cc..9dde215c5 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -798,3 +798,12 @@ CREATE TABLE `tab_promote_game_ratio` ( -- 超级签统计菜单 INSERT INTO `sys_menu`( `title`, `pid`, `sort`, `url`, `hide`, `tip`, `group`, `is_dev`, `status`) VALUES ('游戏统计', 137, 0, 'SuperStatistical/index', 0, '', '财务管理', 0, 1); + +-- pay_info 增加索引 tping +ALTER TABLE `tab_pay_info` +ADD INDEX `idx_game_id_server_id` (`game_id`, `server_id`) , +ADD INDEX `idx_user_account` (`user_account`) , +ADD INDEX `idx_promote_id` (`promote_id`) , +ADD INDEX `idx_game_player_id` (`game_player_id`) , +ADD INDEX `idx_game_player_name` (`game_player_name`) , +ADD INDEX `idx_extend` (`extend`) ; \ No newline at end of file