From 3dacf7d80eb02472bafbabaf4eaa670d2d16bee1 Mon Sep 17 00:00:00 2001 From: guanxiying Date: Tue, 26 Nov 2019 08:44:47 +0800 Subject: [PATCH] * Add acl index of product and project table. --- db/update11.6.5.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/update11.6.5.sql b/db/update11.6.5.sql index b07f84fe7d..5dc01a1341 100644 --- a/db/update11.6.5.sql +++ b/db/update11.6.5.sql @@ -5,3 +5,5 @@ CREATE TABLE `zt_dinguserid` ( `userid` varchar(255) NOT NULL, UNIQUE KEY `webhook_account` (`webhook`,`account`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; +ALTER TABLE `zt_product` ADD INDEX acl (`acl`); +ALTER TABLE `zt_project` ADD INDEX acl (`acl`);