Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeongh00 committed Nov 22, 2024
2 parents 0772a66 + d34e572 commit 8cf8d9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public class Quiz {
private String message;
private String hint;

@OneToMany(mappedBy = "quiz")
@OneToMany(mappedBy = "quiz", cascade = CascadeType.REMOVE)
private List<Question> questions;

@OneToMany(mappedBy = "quiz")
@OneToMany(mappedBy = "quiz", cascade = CascadeType.REMOVE)
private List<Answer> answers;

@ManyToOne
Expand Down

0 comments on commit 8cf8d9f

Please sign in to comment.