Skip to content

Commit

Permalink
[Refactor] #163 - CheckLog 엔티티 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
parkrootseok committed Feb 6, 2023
1 parent 66f33dc commit 46b6211
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public class CheckLog {
private Long id;

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "user_id")
@JoinColumn(name = "user_id", nullable = false)
private User user;

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "cafe_id")
@JoinColumn(name = "cafe_id", nullable = false)
private Cafe cafe;

@Builder
Expand Down

0 comments on commit 46b6211

Please sign in to comment.