From 09d35586602aec30e6484a298dd6a6ee684ecf93 Mon Sep 17 00:00:00 2001 From: hye-on Date: Fri, 13 Oct 2023 21:49:41 +0900 Subject: [PATCH] =?UTF-8?q?#56=20[FIX]=20:=20sql=20=EC=88=98=EC=A0=95,=20a?= =?UTF-8?q?gre=5Fpush=EB=A5=BC=20null=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/migration/data.sql | 2 +- src/main/resources/migration/togetup-erd.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/migration/data.sql b/src/main/resources/migration/data.sql index 7f347d4f..73f14a06 100644 --- a/src/main/resources/migration/data.sql +++ b/src/main/resources/migration/data.sql @@ -87,5 +87,5 @@ alter table room_user -- room_user에 푸쉬 알림 여부 추가 alter table room_user - add agree_push tinyint(1) default 1 not null; + add agree_push tinyint(1) default 1 null; diff --git a/src/main/resources/migration/togetup-erd.sql b/src/main/resources/migration/togetup-erd.sql index 08a3ae3a..1f29c9dc 100644 --- a/src/main/resources/migration/togetup-erd.sql +++ b/src/main/resources/migration/togetup-erd.sql @@ -37,7 +37,7 @@ CREATE TABLE `room_user` ( `room_id` INT UNSIGNED NULL, `user_id` INT UNSIGNED NOT NULL, `is_host` TINYINT(1) NULL DEFAULT FALSE, - `agree_push` TINYINT(1) NOT NULL DEFAULT TRUE, + `agree_push` TINYINT(1) NULL DEFAULT TRUE, FOREIGN KEY (room_id) REFERENCES room (id), FOREIGN KEY (user_id) REFERENCES user(id)