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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| lesson_id | uuid | not null, references lessons.id | |
| type | resource_type | not null | |
| title | varchar(255) | not null | |
| url | varchar(500) | not null | |
| size_bytes | bigint | ||
| position | smallint | not null |
Indexes (1)
(lesson_id, position)
Relationships
lesson_resources.lesson_idreferenceslessons.id