Skip to content

app.certification_holders

TableRow level security on

People holding a certification. Recorded by someone other than the holder (invariant 21); a certificate verifies publicly through its code only while the holder consents.

Primary key: id

Columns of app.certification_holders
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.certifications on insert; never accepted from the caller and never changed.References app.organizations.id
certification_iduuidNoCertification held.References app.certifications.id
person_iduuidNoHolder.References app.people.id
verified_byuuidYesPerson who recorded and verified it; never the holder.References app.people.id
issued_ondateNoDay issued.
expires_ondateYesDay it expires.
verification_codetextNoRandom public verification code, issued by the database.
public_verification_consentedbooleanNoTrue when the holder consents to public verification; only the holder may change it.
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