Skip to content

Commit

Permalink
[#303] refactor(Member): user 필드 nullable false로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonyworld committed Jan 13, 2025
1 parent ccc43d1 commit d6cb471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/beat/domain/member/domain/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Member extends BaseTimeEntity {
private LocalDateTime deletedAt;

@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "user_id", nullable = true)
@JoinColumn(name = "user_id", nullable = false)
@OnDelete(action = OnDeleteAction.CASCADE)
private Users user;

Expand Down

0 comments on commit d6cb471

Please sign in to comment.