Max/Backend/UserDelete #144
@ -18,6 +18,7 @@ public class UserCurriculum {
|
||||
|
||||
@ManyToOne(fetch = FetchType.EAGER)
|
||||
@JoinColumn(name = "Curriculum")
|
||||
@OnDelete(action = OnDeleteAction.CASCADE)
|
||||
private Curriculum curriculum;
|
||||
|
||||
public UserCurriculum(User user, Curriculum curriculum){
|
||||
|
Loading…
Reference in New Issue
Block a user