Skip to content

app.handbook_articles

TableRow level security on

A handbook or SOP article (Section 4.9 Handbook and SOPs): searchable, versioned on publish, optionally a mandatory read acknowledged per version. The body is the working draft; members read the published version.

Primary key: id

Columns of app.handbook_articles
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
handbook_section_iduuidYesSection the article sits in.References app.handbook_sections.id
titletextNoArticle title.
bodytextNoWorking text; the published text lives in handbook_article_versions.
is_mandatorybooleanNoWhether every member must acknowledge the current version.
article_stateapp.handbook_article_stateNoDraft, Published or Archived.
published_versionintegerNoLatest published version; 0 before the first publish.
published_attimestamp with time zoneYesWhen the latest version was published.
search_vectortsvectorYesFull text search vector of the title and text, maintained by the database.
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
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.