lesson_resources table

The lesson_resources table in the Learning Management System Database Schema schema has 7 columns, keyed by id, with 1 foreign key to lessons.

Slides, PDFs, datasets and links. Bytes live in object storage; this holds the pointer.

Columns (7)

Columns of the lesson_resources table
ColumnTypeConstraintsDescription
iduuidprimary key
lesson_iduuidnot null, references lessons.id
typeresource_typenot null
titlevarchar(255)not null
urlvarchar(500)not null
size_bytesbigint
positionsmallintnot null

Indexes (1)

  • (lesson_id, position)

Relationships