assignments table
The assignments table in the Learning Management System Database Schema schema has 10 columns, keyed by id, with 2 foreign keys to courses and modules. 3 columns in assignment_submissions, rubrics and gradebook_items reference it.
Defined on the course, but due dates are shifted per cohort at delivery time by the application layer.
Columns (10)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| course_id | uuid | not null, references courses.id | |
| module_id | uuid | references modules.id | |
| title | varchar(255) | not null | |
| instructions | text | ||
| max_points | decimal(6,2) | not null | |
| due_at | timestamptz | ||
| allows_late | boolean | not null | |
| late_penalty_percent | smallint | ||
| max_attempts | smallint |
Indexes (1)
(course_id, due_at)
Relationships
assignments.course_idreferencescourses.idassignments.module_idreferencesmodules.idassignment_submissions.assignment_idreferencesassignmentsrubrics.assignment_idreferencesassignmentsgradebook_items.assignment_idreferencesassignments