app.feed_posts
TableRow level security on
A feed post (Section 4.9 Feed): an announcement, update, quick poll or recognition for an audience, with pinning, required acknowledgment, per-post reaction and comment switches and a publish time. Written through the feed RPCs.
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org. A row never moves to another org.References app.organizations.id |
| author_membership_id | uuid | Yes | Member who wrote the post.References app.memberships.id |
| post_kind | app.feed_post_kind | No | Announcement, Update, Poll or Recognition. |
| title | text | Yes | Optional headline. |
| body | text | No | Post text. |
| audience_kind | app.audience_kind | No | Who the post reaches: Organization, Project, Team, Department, Role or Group. |
| project_id | uuid | Yes | Project audience; also set on any post tied to a project.References app.projects.id |
| team_id | uuid | Yes | Team audience.References app.teams.id |
| role_id | uuid | Yes | Org role audience.References app.roles.id |
| group_id | uuid | Yes | Group audience, including department groups.References app.groups.id |
| pinned_at | timestamp with time zone | Yes | When the post was pinned to the top of the feed; NULL when not pinned. |
| requires_acknowledgment | boolean | No | Whether every member of the audience must acknowledge the post. |
| reactions_enabled | boolean | No | Whether members can react. |
| comments_enabled | boolean | No | Whether members can comment. |
| publish_at | timestamp with time zone | No | When the post appears; a future time schedules it. |
| notified_at | timestamp with time zone | Yes | When the audience was notified; NULL until the post publishes. |
| hidden_at | timestamp with time zone | Yes | When the author or a communication admin hid the post. |
| hidden_reason | text | Yes | Why the post was hidden. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| department_code | text | Yes | Canon department code of a Department audience (xpms.dim_department), for example 5000; set only for Department posts.References xpms.dim_department.dept_code |