From 6d24d37c711648da1e149ae1265e7322ed9a4c08 Mon Sep 17 00:00:00 2001 From: baolongcheng Date: Wed, 10 Jun 2020 21:24:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E9=92=88=E5=AF=B9mysql5.6=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=BD=BF=E7=94=A8innodb=E5=AD=98=E5=82=A8=E5=BC=95?= =?UTF-8?q?=E6=93=8E=EF=BC=8Cpermissions=E8=A1=A8resouce=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E8=BF=87=E9=95=BF=EF=BC=8C=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=BB=BA=E8=A1=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- distribution/conf/nacos-mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/conf/nacos-mysql.sql b/distribution/conf/nacos-mysql.sql index 5e88447ad..d048cebf4 100644 --- a/distribution/conf/nacos-mysql.sql +++ b/distribution/conf/nacos-mysql.sql @@ -192,7 +192,7 @@ CREATE TABLE `roles` ( CREATE TABLE `permissions` ( `role` varchar(50) NOT NULL, - `resource` varchar(512) NOT NULL, + `resource` varchar(255) NOT NULL, `action` varchar(8) NOT NULL, UNIQUE INDEX `uk_role_permission` (`role`,`resource`,`action`) USING BTREE );