Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
56ff156e
Commit
56ff156e
authored
Nov 19, 2021
by
xiaoyu
Browse files
角色权限关联表字段长度修改
parent
21ceac04
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/sql/init.sql
View file @
56ff156e
...
...
@@ -36,7 +36,7 @@ CREATE TABLE `t_sys_role` (
DROP
TABLE
IF
EXISTS
`t_sys_role_ent_rela`
;
CREATE
TABLE
`t_sys_role_ent_rela`
(
`role_id`
VARCHAR
(
32
)
NOT
NULL
COMMENT
'角色ID'
,
`ent_id`
VARCHAR
(
128
)
NOT
NULL
COMMENT
'权限ID'
,
`ent_id`
VARCHAR
(
64
)
NOT
NULL
COMMENT
'权限ID'
,
PRIMARY
KEY
(
`role_id`
,
`ent_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'系统角色权限关联表'
;
...
...
docs/sql/patch.sql
View file @
56ff156e
...
...
@@ -226,4 +226,4 @@ INSERT INTO t_pay_interface_define (if_code, if_name, is_mch_mode, is_isv_mode,
alter
table
t_refund_order
modify
err_msg
varchar
(
2048
)
null
comment
'渠道错误描述'
;
-- 增加角色权限字段长度
alter
table
`t_sys_role_ent_rela`
MODIFY
`ent_id`
VARCHAR
(
128
)
NOT
NULL
COMMENT
'权限ID'
after
`role_id`
;
alter
table
`t_sys_role_ent_rela`
MODIFY
`ent_id`
VARCHAR
(
64
)
NOT
NULL
COMMENT
'权限ID'
after
`role_id`
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment