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
21ceac04
Commit
21ceac04
authored
Nov 19, 2021
by
xiaoyu
Browse files
角色权限关联表字段长度增加
parent
b17819f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/sql/init.sql
View file @
21ceac04
...
...
@@ -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
(
32
)
NOT
NULL
COMMENT
'权限ID'
,
`ent_id`
VARCHAR
(
128
)
NOT
NULL
COMMENT
'权限ID'
,
PRIMARY
KEY
(
`role_id`
,
`ent_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'系统角色权限关联表'
;
...
...
docs/sql/patch.sql
View file @
21ceac04
...
...
@@ -223,4 +223,7 @@ insert into t_sys_entitlement values('ENT_PAY_ORDER_REFUND', '按钮:订单退
INSERT
INTO
t_pay_interface_define
(
if_code
,
if_name
,
is_mch_mode
,
is_isv_mode
,
config_page_type
,
isv_params
,
isvsub_mch_params
,
normal_mch_params
,
way_codes
,
icon
,
bg_color
,
state
,
remark
,
created_at
,
updated_at
)
VALUES
(
'xxpay'
,
'小新支付'
,
1
,
0
,
1
,
null
,
null
,
'[{"name":"mchId","desc":"商户号","type":"text","verify":"required"},{"name":"key","desc":"私钥","type":"text","verify":"required","star":"1"},{"name":"payUrl","desc":"支付网关地址","type":"text","verify":"required"}]'
,
'[{"wayCode": "ALI_BAR"}, {"wayCode": "ALI_JSAPI"}, {"wayCode": "WX_BAR"}, {"wayCode": "WX_JSAPI"}]'
,
'http://jeequan.oss-cn-beijing.aliyuncs.com/jeepay/img/xxpay.png'
,
'#2E4360'
,
1
,
null
,
'2021-09-20 15:21:04'
,
'2021-09-30 14:55:32.907325'
);
##
-- ++++ [v1.9.0] ===> [v1.10.0] ++++
alter
table
t_refund_order
modify
err_msg
varchar
(
2048
)
null
comment
'渠道错误描述'
;
\ No newline at end of file
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`
;
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