Conversation
LeeYulhee
reviewed
Jan 29, 2025
Contributor
LeeYulhee
left a comment
There was a problem hiding this comment.
신고 테이블의 값을 JOIN해서 COUNT 값으로 5회 이상 누적인지 확인하는 게 아니고 post, commet, review 쪽에 컬럼을 추가하는 방식으로 구현하셨네요! 혹시 이유를 알 수 있을까요?
그리고 유저 Block 처리는 어드민이 수동으로 하는 형태로 구현하신 게 맞을까요?
Collaborator
Author
설명 드리기에 앞서, 신고 flow부터 말씀 드리겠습니다.
그런데, 얘기해주신 것을 다시 생각해보니, 신고 처리가 된 것 외에도 일반 신고 누적횟수로도 정지가 되는 게 맞았던 것 같습니다. 하기 내용은 질문 주셨던 것의 답변입니다.
두 가능성 중 컬럼 하나만을 비교하는 것이 select 쿼리가 적게 들어가기에 효율적이라 판단하고 구현했습니다.
입니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ 작업 내용
✨ 코멘트
Git Close