Skip to content

Commit

Permalink
✨ chore: change to non-nullable content in Item
Browse files Browse the repository at this point in the history
  • Loading branch information
siyeonSon committed Jun 13, 2023
1 parent 49aaaf4 commit 84f3cc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Item extends BaseTimeEntity {
@Column(name = "item_id")
private Long id;

@Column(length = 500)
@Column(length = 500, nullable = false)
private String content;

@OneToOne(fetch = LAZY, mappedBy = "item", cascade = CascadeType.ALL)
Expand Down

0 comments on commit 84f3cc0

Please sign in to comment.