From 3d814f353f6f8eca86fc3a5d90cfe8f83742f641 Mon Sep 17 00:00:00 2001 From: devxb Date: Thu, 15 Feb 2024 21:39:43 +0900 Subject: [PATCH] release: 0.5.3 --- src/main/resources/db/migration/V17__alter_alert_type.sql | 2 ++ src/test/resources/schema.sql | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/db/migration/V17__alter_alert_type.sql diff --git a/src/main/resources/db/migration/V17__alter_alert_type.sql b/src/main/resources/db/migration/V17__alter_alert_type.sql new file mode 100644 index 0000000..fc3a9e5 --- /dev/null +++ b/src/main/resources/db/migration/V17__alter_alert_type.sql @@ -0,0 +1,2 @@ +alter table alert drop column type; +alter table alert add column type enum('BEFORE_MEETING', 'END_MEETING', 'RECOMMEND_USER') not null; diff --git a/src/test/resources/schema.sql b/src/test/resources/schema.sql index 9149130..dadfea5 100644 --- a/src/test/resources/schema.sql +++ b/src/test/resources/schema.sql @@ -99,7 +99,7 @@ create table if not exists alert( user_id bigint not null, title text not null, `body` text not null, - type enum('BEFORE_MEETING'), + type enum('BEFORE_MEETING', 'END_MEETING', 'RECOMMEND_USER'), created_at datetime not null, updated_at datetime not null, is_read boolean not null,