live_sessions table
The live_sessions table in the Learning Management System Database Schema schema has 9 columns, keyed by id, with 2 foreign keys to cohorts and users. 1 column in session_attendance references it.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| cohort_id | uuid | not null, references cohorts.id | |
| host_id | uuid | not null, references users.id | |
| title | varchar(255) | not null | |
| status | session_status | not null | |
| starts_at | timestamptz | not null | |
| ends_at | timestamptz | not null | |
| join_url | varchar(500) | ||
| recording_url | varchar(500) |
Indexes (2)
(cohort_id, starts_at)(status, starts_at)
Relationships
live_sessions.cohort_idreferencescohorts.idlive_sessions.host_idreferencesusers.idsession_attendance.session_idreferenceslive_sessions