Saltar al contenido

app.handbook_articles

TablaSeguridad a nivel de fila activa

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.

Clave primaria: id

Columnas de app.handbook_articles
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
handbook_section_iduuidSíSection the article sits in.Hace referencia a 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 zoneSíWhen the latest version was published.
search_vectortsvectorSíFull 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_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.