feat: casacade 추기
This commit is contained in:
parent
00680262a4
commit
4cc6cec8f8
@ -54,6 +54,7 @@ public class Qna {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "lecture_id")
|
||||
@OnDelete(action = OnDeleteAction.CASCADE)
|
||||
private Lecture lecture;
|
||||
|
||||
private boolean isMine;
|
||||
|
@ -25,7 +25,6 @@ import java.util.UUID;
|
||||
@AllArgsConstructor
|
||||
@EntityListeners(AuditingEntityListener.class)
|
||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
||||
@OnDelete(action = OnDeleteAction.CASCADE)
|
||||
public class ReportSet {
|
||||
@Id
|
||||
@GeneratedValue(generator = "UUID")
|
||||
|
Loading…
Reference in New Issue
Block a user