oups forgot somthing
This commit is contained in:
parent
fd18df7c3a
commit
e03a01ec89
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user