From 8d624a03959ea597e7e8fd4936d7c6a2b6b3184d Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Thu, 19 Dec 2019 14:50:57 +0800 Subject: [PATCH] =?UTF-8?q?pay=5Finfo=20=E5=A2=9E=E5=8A=A0=E7=B4=A2?= =?UTF-8?q?=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 9 +++++++++ 1 file changed, 9 insertions(+) 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