修针对mysql5.6版本使用innodb存储引擎,permissions表resouce字段长度过长,无法建表问题
This commit is contained in:
parent
7f7ee0d5b3
commit
6d24d37c71
@ -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
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user