Skip to content

Commit

Permalink
#56 [FIX] : sql 수정, agre_push를 null 로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hye-on committed Oct 13, 2023
1 parent 11770cd commit 09d3558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/migration/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

2 changes: 1 addition & 1 deletion src/main/resources/migration/togetup-erd.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 09d3558

Please sign in to comment.