Saltar al contenido

app.training_completions

TablaSeguridad a nivel de fila activa

Training completion records (Section 4.9 Training): every attempt with its quiz score, and for a pass a certificate number and expiry. Written only by app.complete_training; the certification link is set once by a verifier.

Clave primaria: id

Columnas de app.training_completions
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.training_courses on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
training_course_iduuidNoCourse completed.Hace referencia a app.training_courses.id
membership_iduuidNoLearner.Hace referencia a app.memberships.id
score_percentsmallintSíQuiz score in percent; NULL for a course without quizzes.
passedbooleanNoWhether the attempt passed.
completed_attimestamp with time zoneNoWhen the attempt finished.
expires_attimestamp with time zoneSíWhen a pass stops being current; NULL never expires.
certificate_numbertextSíCompletion certificate number for passes: TRN- and the org's next certificate number, padded to numbering.document_number_padding digits (TRN-0001 by default; 1326, 1396).
certification_holder_iduuidSíCertification record a verifier issued from this pass.Hace referencia a app.certification_holders.id
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.