From f51498594eac90ce2f4ae6a92a8ee4470502e9d2 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Fri, 12 Jan 2024 16:21:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.0.5=E3=80=91=E3=80=90notice=E3=80=91?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=80=9A=E7=9F=A5=E7=9A=84sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migration/mysql/V8.1.0_20240109_2241__add_org_status.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240109_2241__add_org_status.sql b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240109_2241__add_org_status.sql index 362c59a1d..fe6aade00 100644 --- a/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240109_2241__add_org_status.sql +++ b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240109_2241__add_org_status.sql @@ -8,9 +8,10 @@ CHANGE COLUMN `notice_scope` `notice_user_scope` json NULL COMMENT '通知范围 MODIFY COLUMN `notice_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '通知标题' AFTER `notice_id`, MODIFY COLUMN `notice_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '通知内容' AFTER `notice_summary`, MODIFY COLUMN `priority_level` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '优先级,来自字典:high-高优先级,middle-中,low-低' AFTER `notice_content`, -ADD COLUMN `version_flag` bigint NULL DEFAULT NULL COMMENT '乐观锁' AFTER `notice_user_scope`, +ADD COLUMN `publish_status` tinyint NULL COMMENT '是否发布:1-已发布,2-未发布' AFTER `notice_user_scope`, +ADD COLUMN `version_flag` bigint NULL DEFAULT NULL COMMENT '乐观锁' AFTER `publish_status`, ADD COLUMN `expand_field` json NULL COMMENT '拓展字段' AFTER `version_flag`, -MODIFY COLUMN `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '是否删除:Y-被删除,N-未删除' AFTER `update_time`, +MODIFY COLUMN `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '是否删除:Y-被删除,N-未删除' AFTER `expand_field`, ADD COLUMN `tenant_id` bigint NULL COMMENT '租户号' AFTER `del_flag`; -- 更新个人信息表