From 21ceac0408bd433ca35a57ae9aa76759dcefa44a Mon Sep 17 00:00:00 2001 From: xiaoyu <17601026937@163.com> Date: Fri, 19 Nov 2021 14:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=9D=83=E9=99=90=E5=85=B3?= =?UTF-8?q?=E8=81=94=E8=A1=A8=E5=AD=97=E6=AE=B5=E9=95=BF=E5=BA=A6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sql/init.sql | 2 +- docs/sql/patch.sql | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/sql/init.sql b/docs/sql/init.sql index 460938d..6ac575c 100644 --- a/docs/sql/init.sql +++ b/docs/sql/init.sql @@ -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='系统角色权限关联表'; diff --git a/docs/sql/patch.sql b/docs/sql/patch.sql index e8ad947..f957a0c 100644 --- a/docs/sql/patch.sql +++ b/docs/sql/patch.sql @@ -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`;