- |
+ |
{$data.user_account}
diff --git a/Data/update.sql b/Data/update.sql
index dc798d286..dad48a2bc 100644
--- a/Data/update.sql
+++ b/Data/update.sql
@@ -1371,4 +1371,8 @@ CREATE TABLE `tab_operation_log` (
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`op_ip` varchar(16) DEFAULT '0' COMMENT '登陆ip',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
\ No newline at end of file
+) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
+
+-- 2020-02-25 chenzhi spend表索引优化
+ALTER TABLE `tab_spend`
+ADD INDEX `game_stayus` (`pay_status`, `pay_game_status`) USING BTREE ;
|