Saltar al contenido

app.inspection_results

TablaSeguridad a nivel de fila activa

One result per template item of an inspection, from the canon Inspection Result enumeration. Results freeze at sign-off.

Clave primaria: id

Columnas de app.inspection_results
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.inspections on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
inspection_iduuidNoInspection.Hace referencia a app.inspections.id
inspection_item_iduuidNoItem of the inspection's template.Hace referencia a app.inspection_items.id
result_enum_idtextNoResult: a row of the canon Inspection Result enumeration.Hace referencia a xpms.std_enumeration.record_id
notetextSíFinding.
deleted_attimestamp with time zoneSíSoft 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_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
photo_uritextSíObject name of the finding's photo in the field-media bucket: <org_id>/inspections/<inspection_id>/<file name>.
project_iduuidNoProject of the inspection, maintained by the database from the inspection so Compass sync can scope results by project. Never accepted from the caller.Hace referencia a app.projects.id