Skip to content

Conversation

@sansan20535
Copy link
Member

Related Issue

Key Changes

  • 피드를 삭제하는 과정에서 피드의 댓글 중 신고 기록이 있는 경우 ReportedComment에서 참조 무결성 제약조건으로 인해 피드가 삭제되지 않는 경우가 있었습니다.
  • 그래서 삭제하고자 하는 피드의 모든 댓글을 가져오고 신고된 댓글 중 해당 피드의 댓글들이 있는 경우 먼저 기록을 삭제 후 댓글을 삭제하는 코드를 작성했습니다.

To Reviewers

References

Copy link
Member

@rinarina0429 rinarina0429 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오호 이런 문제가 있었네요~ 수고하셨습니다~~

Copy link
Contributor

@GiJungPark GiJungPark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다 :)

@sansan20535 sansan20535 merged commit 6863a19 into dev Aug 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] 신고된 댓글이 있는 피드 삭제

5 participants