app.feed_posts
TablaSeguridad a nivel de fila activa
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.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org. A row never moves to another org.Hace referencia a app.organizations.id |
| author_membership_id | uuid | Sí | Member who wrote the post.Hace referencia a app.memberships.id |
| post_kind | app.feed_post_kind | No | Announcement, Update, Poll or Recognition. |
| title | text | Sí | 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 | Sí | Project audience; also set on any post tied to a project.Hace referencia a app.projects.id |
| team_id | uuid | Sí | Team audience.Hace referencia a app.teams.id |
| role_id | uuid | Sí | Org role audience.Hace referencia a app.roles.id |
| group_id | uuid | Sí | Group audience, including department groups.Hace referencia a app.groups.id |
| pinned_at | timestamp with time zone | Sí | 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 | Sí | When the audience was notified; NULL until the post publishes. |
| hidden_at | timestamp with time zone | Sí | When the author or a communication admin hid the post. |
| hidden_reason | text | Sí | Why the post was hidden. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| department_code | text | Sí | Canon department code of a Department audience (xpms.dim_department), for example 5000; set only for Department posts.Hace referencia a xpms.dim_department.dept_code |