Skip to content

Commit

Permalink
fix(#11306): change the length of the field named resource from 255 t…
Browse files Browse the repository at this point in the history
…o 128. (#11453)
  • Loading branch information
Bo-Qiu authored Dec 5, 2023
1 parent f8b3d35 commit 33cb6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/conf/mysql-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ CREATE TABLE `roles` (

CREATE TABLE `permissions` (
`role` varchar(50) NOT NULL COMMENT 'role',
`resource` varchar(255) NOT NULL COMMENT 'resource',
`resource` varchar(128) NOT NULL COMMENT 'resource',
`action` varchar(8) NOT NULL COMMENT 'action',
UNIQUE INDEX `uk_role_permission` (`role`,`resource`,`action`) USING BTREE
);
Expand Down

0 comments on commit 33cb6e2

Please sign in to comment.