Skip to content

Commit

Permalink
fix : column 조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
moonyaeyoon committed Nov 10, 2024
1 parent 59b40bc commit dee34d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Comment extends BaseEntity {
@Column(name = "is_anonymous")
private boolean isAnonymous = false;

@Column(name = "report_count")
@Column(name = "report_count",nullable = false)
private int reportCount;

@ManyToOne(fetch = FetchType.LAZY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Post extends BaseEntity {

private Boolean isDraft;

@Column(name = "report_count")
@Column(name = "report_count",nullable = false)
private int reportCount;

@ManyToOne(fetch = FetchType.LAZY)
Expand Down

0 comments on commit dee34d7

Please sign in to comment.