diff --git a/src/main/java/ktb/hackathon/ktbgratitudediary/entity/EmotionEntity.java b/src/main/java/ktb/hackathon/ktbgratitudediary/entity/EmotionEntity.java index 3fa7a47..5ff3494 100644 --- a/src/main/java/ktb/hackathon/ktbgratitudediary/entity/EmotionEntity.java +++ b/src/main/java/ktb/hackathon/ktbgratitudediary/entity/EmotionEntity.java @@ -27,8 +27,8 @@ public class EmotionEntity { @Column(name = "description") private List desc; - @Column(nullable = false) - private String color; + @Column + private String color = "#000000"; @ManyToOne(optional = false) @JoinColumn(name = "diary_id", foreignKey = @ForeignKey(name = "fk_emotion_diary_id"))