From 9502d14f559607392054ff8d7dfcbad3ea6528f8 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Thu, 17 Apr 2025 16:16:22 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E6=94=AF=E6=8C=81=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=A4=9A=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1399118465826816]邮件服务器支持配置多个 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1399118465826816 --- .../changelog/2025-04-14/neatlogic_tenant.sql | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/main/resources/neatlogic/resources/framework/changelog/2025-04-14/neatlogic_tenant.sql b/src/main/resources/neatlogic/resources/framework/changelog/2025-04-14/neatlogic_tenant.sql index f65fe49cd..5325139c2 100644 --- a/src/main/resources/neatlogic/resources/framework/changelog/2025-04-14/neatlogic_tenant.sql +++ b/src/main/resources/neatlogic/resources/framework/changelog/2025-04-14/neatlogic_tenant.sql @@ -1,12 +1,19 @@ +ALTER TABLE `notify_config` + DROP PRIMARY KEY; ALTER TABLE `notify_config` ADD COLUMN `id` BIGINT NOT NULL AUTO_INCREMENT COMMENT '主键ID' FIRST, - ADD COLUMN `name` VARCHAR (250) NULL COMMENT '名称' AFTER `id`, - ADD COLUMN `is_active` TINYINT (1) DEFAULT 1 NOT NULL COMMENT '是否激活' AFTER `name`, - ADD COLUMN `is_default` TINYINT (1) DEFAULT 1 NOT NULL COMMENT '是否是默认配置' AFTER `is_active`, - DROP PRIMARY KEY, + ADD KEY (`id`); +ALTER TABLE `notify_config` ADD PRIMARY KEY (`id`); - ALTER TABLE `notify_config` - CHANGE `id` `id` BIGINT NOT NULL COMMENT '主键ID', - CHANGE `is_active` `is_active` TINYINT (1) DEFAULT 0 NOT NULL COMMENT '是否激活', + ADD COLUMN `name` VARCHAR (250) NULL COMMENT '名称' AFTER `id`; +ALTER TABLE `notify_config` + ADD COLUMN `is_active` TINYINT (1) DEFAULT 1 NOT NULL COMMENT '是否激活' AFTER `name`; +ALTER TABLE `notify_config` + ADD COLUMN `is_default` TINYINT (1) DEFAULT 1 NOT NULL COMMENT '是否是默认配置' AFTER `is_active`; +ALTER TABLE `notify_config` + CHANGE `id` `id` BIGINT NOT NULL COMMENT '主键ID'; +ALTER TABLE `notify_config` + CHANGE `is_active` `is_active` TINYINT (1) DEFAULT 0 NOT NULL COMMENT '是否激活'; +ALTER TABLE `notify_config` CHANGE `is_default` `is_default` TINYINT (1) DEFAULT 0 NOT NULL COMMENT '是否是默认配置'; \ No newline at end of file -- Gitee