Skip to content

Commit

Permalink
#48 [fix] onboarding 외래키 제약조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyejungg committed Sep 7, 2022
1 parent b45e71c commit 9671a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hous/server/domain/todo/Take.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Take extends AuditingTimeEntity {
@JoinColumn(name = "todo_id", nullable = false)
private Todo todo;

@OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL, orphanRemoval = true)
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "onboarding_id")
private Onboarding onboarding;

Expand Down

0 comments on commit 9671a37

Please sign in to comment.