From 47f3cd1397bd1d5a4b70ac3dc5b768824c933b82 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Tue, 20 Oct 2020 10:02:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4flyway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/db/migration/V31__message_task.sql | 2 +- .../resources/db/migration/V34__modify_message_task_webhook.sql | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 backend/src/main/resources/db/migration/V34__modify_message_task_webhook.sql diff --git a/backend/src/main/resources/db/migration/V31__message_task.sql b/backend/src/main/resources/db/migration/V31__message_task.sql index e7c6e59c7a..5b0d14bddd 100644 --- a/backend/src/main/resources/db/migration/V31__message_task.sql +++ b/backend/src/main/resources/db/migration/V31__message_task.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS message_task ( event varchar(255) NOT NULL COMMENT '通知事件类型', user_id varchar(50) NOT NULL COMMENT '接收人id', task_type varchar(64) NOT NULL, - webhook varchar(255) NOT NULL COMMENT 'webhook地址', + webhook varchar(255) COMMENT 'webhook地址', CONSTRAINT message_manage_pk PRIMARY KEY (id) ) diff --git a/backend/src/main/resources/db/migration/V34__modify_message_task_webhook.sql b/backend/src/main/resources/db/migration/V34__modify_message_task_webhook.sql deleted file mode 100644 index 7257542a37..0000000000 --- a/backend/src/main/resources/db/migration/V34__modify_message_task_webhook.sql +++ /dev/null @@ -1 +0,0 @@ -alter table message_task modify webhook varchar(255) null comment 'webhook地址'; \ No newline at end of file