feat: ondelete 설정
This commit is contained in:
parent
f2ccdd5620
commit
00680262a4
@ -16,7 +16,7 @@ import java.util.Date;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
|
||||
@OnDelete(action = OnDeleteAction.CASCADE)
|
||||
|
||||
public class Qna {
|
||||
|
||||
// 연관관계 주인
|
||||
|
@ -24,7 +24,6 @@ import java.util.List;
|
||||
@Builder
|
||||
@EntityListeners(AuditingEntityListener.class)
|
||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
||||
@OnDelete(action = OnDeleteAction.CASCADE)
|
||||
public class Report {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
|
Loading…
Reference in New Issue
Block a user