Skip to content

Commit

Permalink
!hotfix: 회원 탈퇴 시 chat delete code 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
daeun084 committed Nov 20, 2024
1 parent f250c1d commit 55326ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class Record extends BaseEntity {
@JoinColumn(name = "user_id", nullable = false)
private User user;

@OneToOne(fetch = FetchType.LAZY)
@OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
@JoinColumn(name = "chat_room_id", nullable = true)
private ChatRoom chatRoom;

Expand Down

0 comments on commit 55326ba

Please sign in to comment.