Skip to content

app.advance_submissions

TableRow level security on

A recipient's answer to an advance section (rich text), with its review.

Primary key: id

Columns of app.advance_submissions
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.advance_sections on insert; never accepted from the caller and never changed.References app.organizations.id
advance_section_iduuidNoSection answered.References app.advance_sections.id
advance_recipient_iduuidNoRecipient of the same packet who answered.References app.advance_recipients.id
bodytextNoThe answer as rich text.
submitted_attimestamp with time zoneNoWhen it was submitted.
reviewed_attimestamp with time zoneYesWhen it was reviewed.
reviewed_byuuidYesWho reviewed it.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
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
review_outcomeapp.advance_review_outcomeYesAccepted, or Returned to the recipient; NULL until reviewed. Set with reviewed_at and reviewed_by.
return_reasontextYesWhy the answer was returned, shown to the recipient; required when Returned and only then.
advance_recipient_token_iduuidYesToken link the answer came through, when the recipient answered in Gateway without signing in; NULL for answers recorded in Atlas.References app.advance_recipient_tokens.id