From ac4aa67ab55cceb92dfe3c2a6e0055ddee9a9d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=A7=84?= Date: Sat, 7 Sep 2024 02:55:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20color=20=EB=94=94=ED=8F=B4=ED=8A=B8=20?= =?UTF-8?q?=EA=B0=92=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ktb/hackathon/ktbgratitudediary/entity/EmotionEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"))