Merge branch 'BE/userinfo' into 'backend'
feat: casacade 추기 See merge request s11-webmobile1-sub2/S11P12A701!148
This commit is contained in:
commit
8d70e5d438
@ -54,6 +54,7 @@ public class Qna {
|
|||||||
|
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
@JoinColumn(name = "lecture_id")
|
@JoinColumn(name = "lecture_id")
|
||||||
|
@OnDelete(action = OnDeleteAction.CASCADE)
|
||||||
private Lecture lecture;
|
private Lecture lecture;
|
||||||
|
|
||||||
private boolean isMine;
|
private boolean isMine;
|
||||||
|
@ -25,7 +25,6 @@ import java.util.UUID;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@EntityListeners(AuditingEntityListener.class)
|
@EntityListeners(AuditingEntityListener.class)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
||||||
@OnDelete(action = OnDeleteAction.CASCADE)
|
|
||||||
public class ReportSet {
|
public class ReportSet {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(generator = "UUID")
|
@GeneratedValue(generator = "UUID")
|
||||||
|
Loading…
Reference in New Issue
Block a user