Skip to content

app.content_reports

TableRow level security on

Reports of a post, a comment on a post or a chat message to the org's moderators (ADR 0033 decision 57, App Store Review Guideline 1.2). Filed only through app.report_content; open until a moderator's decision on the item decides it, due 24 hours after it arrived. Read by the reporter and by the org's moderators other than the item's author; leaves with the item.

Primary key: id

Columns of app.content_reports
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
subject_kindapp.content_subject_kindNoFeed Post, Comment or Chat Message.
feed_post_iduuidYesPost reported, when the item is a post. Deleting the post deletes its reports.References app.feed_posts.id
comment_iduuidYesComment reported, when the item is a comment on a post. Deleting the comment deletes its reports.References app.comments.id
chat_message_iduuidYesMessage reported, when the item is a chat message. Deleting the message, as the org's message retention does (1324), deletes its reports and their copy of its text.References app.chat_messages.id
author_person_iduuidYesPerson who wrote the item; never reads a report about it, even as a moderator.References app.people.id
reporter_person_iduuidNoPerson who reported, from the session.References app.people.id
reasonapp.content_report_reasonNoHarassment, Hate, Sexual Content, Violence, Spam or Other.
detailstextYesWhat the reporter added, optional.
content_excerpttextNoThe item's text when it was reported, so moderators see what was reported even when they cannot read the conversation.
reported_attimestamp with time zoneNoWhen the report arrived, set by the database.
due_attimestamp with time zoneNoWhen a decision is due: 24 hours after the report arrived.
escalated_attimestamp with time zoneYesWhen the moderators were reminded that the report passed its due time undecided.
content_moderation_decision_iduuidYesDecision that decided the report; NULL while it is open.References app.content_moderation_decisions.id
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.