diff --git a/src/main/java/com/gg/server/domain/noti/data/Noti.java b/src/main/java/com/gg/server/domain/noti/data/Noti.java index 404d00d3b..bcaff10a7 100644 --- a/src/main/java/com/gg/server/domain/noti/data/Noti.java +++ b/src/main/java/com/gg/server/domain/noti/data/Noti.java @@ -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; diff --git a/src/main/resources/db/migration/V3__migration_42gg_5th.sql b/src/main/resources/db/migration/V3__migration_42gg_5th.sql index b81b2e51b..bdf8fbb16 100644 --- a/src/main/resources/db/migration/V3__migration_42gg_5th.sql +++ b/src/main/resources/db/migration/V3__migration_42gg_5th.sql @@ -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);