certificates table

The certificates table in the Learning Management System Database Schema schema has 8 columns, keyed by id, with 1 foreign key to enrollments.

The serial is the public verification handle. Revocation is a timestamp, never a delete, so an old certificate URL still resolves and says revoked.

Columns (8)

Columns of the certificates table
ColumnTypeConstraintsDescription
iduuidprimary key
enrollment_iduuidunique, not null, references enrollments.id
serialvarchar(60)unique, not null
final_scoredecimal(6,2)
issued_attimestamptznot null
expires_attimestamptz
revoked_attimestamptz
verification_urlvarchar(500)

Indexes (1)

  • (serial)

Relationships