app.surveys
TablaSeguridad a nivel de fila activa
A pulse survey (Section 4.9 Polls and surveys) for an audience, anonymous by default, whose results show only once the minimum number of responses is met.
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 survey.Hace referencia a app.memberships.id |
| title | text | No | Survey title. |
| description | text | Sí | What the survey asks about and why. |
| audience_kind | app.audience_kind | No | Who the survey reaches. |
| project_id | uuid | Sí | Project audience.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.Hace referencia a app.groups.id |
| is_anonymous | boolean | No | Whether answers are stored with no respondent. |
| min_responses | smallint | No | Responses needed before anyone sees results, 3 or more. |
| survey_state | app.survey_state | No | Draft, Open or Closed. |
| closes_at | timestamp with time zone | Sí | When the survey stops taking responses; NULL until closed by hand. |
| 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. |