Skip to content

Commit

Permalink
fix: color 디폴트 값 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
maiload committed Sep 6, 2024
1 parent d2015a6 commit ac4aa67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public class EmotionEntity {
@Column(name = "description")
private List<String> 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"))
Expand Down

0 comments on commit ac4aa67

Please sign in to comment.