Merge branch 'BE/userinfo' into 'backend'

feat: ondelete 설정

See merge request s11-webmobile1-sub2/S11P12A701!147
This commit is contained in:
박정민 2024-08-09 15:28:30 +09:00
commit b18070cfaa
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import java.util.Date;
@NoArgsConstructor
@AllArgsConstructor
@OnDelete(action = OnDeleteAction.CASCADE)
public class Qna {
// 연관관계 주인

View File

@ -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)