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