From 518d2aa3f62e71dd2a151cac93a24f358854b76b Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 2 Mar 2020 15:42:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=93=8D=E4=BD=9C=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=A1=A8=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Data/update.sql b/Data/update.sql index 08cd275d6..2ce169ca4 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1370,7 +1370,9 @@ CREATE TABLE `tab_operation_log` ( `admin_account` varchar(30) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '管理员账号', `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间', `op_ip` varchar(16) DEFAULT '0' COMMENT '登陆ip', - PRIMARY KEY (`id`) + PRIMARY KEY (`id`), + KEY `admin_id` (`admin_id`) USING BTREE, + KEY `op_type` (`op_type`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; -- 2020-02-25 chenzhi spend表索引优化