Skip to content

Commit

Permalink
fix [#42] timetables CascadeType 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivoryeee committed Jan 16, 2025
1 parent a77cd71 commit 8339466
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class FestivalTime {
@Column(nullable = false)
private LocalDateTime endAt;

@OneToMany(mappedBy = "userTimetable", cascade = CascadeType.ALL, orphanRemoval = true)
@OneToMany(mappedBy = "userTimetable", cascade = CascadeType.REMOVE)
private List<UserTimetable> timetables = new ArrayList<>();

@OneToMany(mappedBy = "festivalArtist", cascade = CascadeType.ALL, orphanRemoval = true)
Expand Down

0 comments on commit 8339466

Please sign in to comment.