From 2e68aff41acae76367b1fd68de967211d066d9c3 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Wed, 30 Aug 2023 00:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.0=E3=80=91=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E6=95=B4=E7=90=86=E7=A7=9F=E6=88=B7=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../V8.0.0_20230830_0023__remove_file_tenant_id.sql | 1 + .../V8.0.0_20230830_0023__remove_dict_tenant_id.sql | 3 +++ .../V8.0.0_20230830_0023__remove_stat_tenant_id.sql | 3 +++ ...8.0.0_20230830_0023__remove_system_tenant_id.sql | 13 +++++++++++++ 4 files changed, 20 insertions(+) create mode 100644 kernel-d-file/file-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_file_tenant_id.sql create mode 100644 kernel-s-dict/dict-spring-boot-starter/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_dict_tenant_id.sql create mode 100644 kernel-s-stat/stat-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_stat_tenant_id.sql create mode 100644 kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_system_tenant_id.sql diff --git a/kernel-d-file/file-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_file_tenant_id.sql b/kernel-d-file/file-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_file_tenant_id.sql new file mode 100644 index 000000000..d2091f4f2 --- /dev/null +++ b/kernel-d-file/file-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_file_tenant_id.sql @@ -0,0 +1 @@ +ALTER TABLE `sys_file_business` DROP COLUMN `tenant_id`; \ No newline at end of file diff --git a/kernel-s-dict/dict-spring-boot-starter/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_dict_tenant_id.sql b/kernel-s-dict/dict-spring-boot-starter/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_dict_tenant_id.sql new file mode 100644 index 000000000..1110f3b2b --- /dev/null +++ b/kernel-s-dict/dict-spring-boot-starter/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_dict_tenant_id.sql @@ -0,0 +1,3 @@ +ALTER TABLE `sys_dict` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_dict_type` DROP COLUMN `tenant_id`; \ No newline at end of file diff --git a/kernel-s-stat/stat-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_stat_tenant_id.sql b/kernel-s-stat/stat-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_stat_tenant_id.sql new file mode 100644 index 000000000..4cfd554c5 --- /dev/null +++ b/kernel-s-stat/stat-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_stat_tenant_id.sql @@ -0,0 +1,3 @@ +ALTER TABLE `sys_click_count` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_click_status` DROP COLUMN `tenant_id`; \ No newline at end of file diff --git a/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_system_tenant_id.sql b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_system_tenant_id.sql new file mode 100644 index 000000000..402311620 --- /dev/null +++ b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230830_0023__remove_system_tenant_id.sql @@ -0,0 +1,13 @@ +ALTER TABLE `sys_app` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_group` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_menu` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_menu_options` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_table_width` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_user_org` DROP COLUMN `tenant_id`; + +ALTER TABLE `sys_user_role` DROP COLUMN `tenant_id`; \ No newline at end of file