From 9671a378ac01c2bd578e992cc975265054df658f Mon Sep 17 00:00:00 2001 From: hyejungg Date: Wed, 7 Sep 2022 22:29:10 +0900 Subject: [PATCH] =?UTF-8?q?#48=20[fix]=20onboarding=20=EC=99=B8=EB=9E=98?= =?UTF-8?q?=ED=82=A4=20=EC=A0=9C=EC=95=BD=EC=A1=B0=EA=B1=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/hous/server/domain/todo/Take.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/hous/server/domain/todo/Take.java b/src/main/java/hous/server/domain/todo/Take.java index 53ba3063..f6f13a48 100644 --- a/src/main/java/hous/server/domain/todo/Take.java +++ b/src/main/java/hous/server/domain/todo/Take.java @@ -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;