app.advance_submissions
TablaSeguridad a nivel de fila activa
A recipient's answer to an advance section (rich text), with its review.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.advance_sections on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| advance_section_id | uuid | No | Section answered.Hace referencia a app.advance_sections.id |
| advance_recipient_id | uuid | No | Recipient of the same packet who answered.Hace referencia a app.advance_recipients.id |
| body | text | No | The answer as rich text. |
| submitted_at | timestamp with time zone | No | When it was submitted. |
| reviewed_at | timestamp with time zone | Sí | When it was reviewed. |
| reviewed_by | uuid | Sí | Who reviewed it.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. |
| 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 |
| review_outcome | app.advance_review_outcome | Sí | Accepted, or Returned to the recipient; NULL until reviewed. Set with reviewed_at and reviewed_by. |
| return_reason | text | Sí | Why the answer was returned, shown to the recipient; required when Returned and only then. |
| advance_recipient_token_id | uuid | Sí | Token link the answer came through, when the recipient answered in Gateway without signing in; NULL for answers recorded in Atlas.Hace referencia a app.advance_recipient_tokens.id |