From 6147e923de5d6725c2b79050d7070f76d57a8f2d Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Tue, 18 Jun 2024 11:58:06 +0800 Subject: [PATCH] =?UTF-8?q?3.7.0=20=E5=A4=A7=E7=89=88=E6=9C=AC=E5=8F=91?= =?UTF-8?q?=E5=B8=83=EF=BC=88=E8=B0=83=E6=95=B4=E5=A2=9E=E9=87=8Fsql,?= =?UTF-8?q?=E5=A6=82=E6=9E=9C=E5=A4=A7=E5=AE=B6=E6=8A=A5=E9=94=99=E6=89=8B?= =?UTF-8?q?=E5=B7=A5=E6=89=A7=E8=A1=8C=E5=B9=B6=E6=94=B9=E4=B8=8B=E8=A1=A8?= =?UTF-8?q?flyway=5Fschema=5Fhistory=E7=9A=84=E7=8A=B6=E6=80=81=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/flyway/sql/mysql/R__370_missingPermission.sql | 4 ++++ .../resources/flyway/sql/mysql/V3.7.01__missingSqlUpgrade.sql | 4 ---- .../main/resources/flyway/sql/mysql/V3.7.0__all_upgrade.sql | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/R__370_missingPermission.sql delete mode 100644 jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.01__missingSqlUpgrade.sql diff --git a/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/R__370_missingPermission.sql b/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/R__370_missingPermission.sql new file mode 100644 index 00000000..e5ee9f71 --- /dev/null +++ b/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/R__370_missingPermission.sql @@ -0,0 +1,4 @@ +-- 补充缺少的请求权限配置 + +INSERT IGNORE INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `hide_tab`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('f15543b0263cf6c5fac85afdd3eba3f2', '3f915b2769fc80648e92d04e84ca059d', '用户导入', '', NULL, 0, NULL, NULL, 2, 'system:user:import', '1', 1.00, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2019-05-13 19:15:27', 'admin', '2022-06-30 15:05:12', 0, 0, '1', 0); +INSERT IGNORE INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `hide_tab`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1801954937339428865', '1460888189937176577', '测试数据源连接', NULL, NULL, 0, NULL, NULL, 2, 'online:report:testConnection', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-06-15 20:28:30', NULL, NULL, 0, 0, '1', 0); \ No newline at end of file diff --git a/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.01__missingSqlUpgrade.sql b/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.01__missingSqlUpgrade.sql deleted file mode 100644 index 33473d76..00000000 --- a/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.01__missingSqlUpgrade.sql +++ /dev/null @@ -1,4 +0,0 @@ -ALTER TABLE `jimu_report_link` -ADD COLUMN `expression` varchar(255) NULL COMMENT '表达式'; - -INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `hide_tab`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1801954937339428865', '1460888189937176577', '测试数据源连接', NULL, NULL, 0, NULL, NULL, 2, 'online:report:testConnection', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-06-15 20:28:30', NULL, NULL, 0, 0, '1', 0); \ No newline at end of file diff --git a/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.0__all_upgrade.sql b/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.0__all_upgrade.sql index fe92004e..a690933c 100644 --- a/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.0__all_upgrade.sql +++ b/jeecg-module-system/jeecg-system-start/src/main/resources/flyway/sql/mysql/V3.7.0__all_upgrade.sql @@ -1,3 +1,6 @@ +ALTER TABLE `jimu_report_link` +ADD COLUMN `expression` varchar(255) NULL COMMENT '表达式'; + -- 补充online模块接口权限 INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `hide_tab`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1535225446864011265', '1460888189937176577', '批量删除', NULL, NULL, 0, NULL, NULL, 2, 'online:report:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2022-06-10 19:40:44', NULL, NULL, 0, 0, '1', 0); INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `hide_tab`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1699374612388773890', '1460888189937176577', '获取字典列表', NULL, NULL, 0, NULL, NULL, 2, 'online:report:getDictList', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-09-06 18:50:55', NULL, NULL, 0, 0, '1', 0);