Skip to content

Commit

Permalink
🐛 fix: Noti의 noti_type 길이 15 -> 30으로 수정 (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimhan-nah committed Dec 22, 2023
1 parent abc484c commit 28014f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/gg/server/domain/noti/data/Noti.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Noti extends BaseTimeEntity {
private User user;

@NotNull
@Column(name = "noti_type", length = 15)
@Column(name = "noti_type", length = 30)
@Enumerated(EnumType.STRING)
private NotiType type;

Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/db/migration/V3__migration_42gg_5th.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ CREATE TABLE tournament_game (
ON DELETE CASCADE ,
FOREIGN KEY (game_id) REFERENCES game(id)
);

### Noti ###
ALTER TABLE noti
MODIFY COLUMN noti_type VARCHAR(30);

0 comments on commit 28014f6

Please sign in to comment.