1
0
forked from PGL/Clyde

oups forgot somthing

This commit is contained in:
Bartha Maxime 2024-03-18 11:53:33 +01:00
parent fd18df7c3a
commit e03a01ec89

View File

@ -18,6 +18,7 @@ public class UserCurriculum {
@ManyToOne(fetch = FetchType.EAGER) @ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "Curriculum") @JoinColumn(name = "Curriculum")
@OnDelete(action = OnDeleteAction.CASCADE)
private Curriculum curriculum; private Curriculum curriculum;
public UserCurriculum(User user, Curriculum curriculum){ public UserCurriculum(User user, Curriculum curriculum){