게시물이 삭제되지 않아 sidekiq와 /logs를 확인해 보았습니다. 삭제 과정에서 다음과 같은 오류가 반환됩니다:
Job exception: PG::ForeignKeyViolation: ERROR: update or delete on table "reviewables" violates foreign key constraint "fk_rails_2fe5fa5cd0" on table "reviewable_notes"
DETAIL: Key (id)=(7870) is still referenced from table "reviewable_notes".
해당 검토 가능 항목(reviewable item)은 15일 전에 승인되었으며, 실제로 3개의 노트(notes)가 첨부되어 있습니다.
아이디 7870의 플래그를 생성한 사용자는 게시물 삭제를 시도 중인 사용자이기도 하며, 이것이 문제의 원인인 것 같습니다.