gradebook_items table
The gradebook_items table in the Learning Management System Database Schema schema has 8 columns, keyed by id, with 3 foreign keys to cohorts, assignments and quizzes. 1 column in grades references it.
One column of the gradebook, per cohort. max_points and weight are frozen here so re-weighting next term cannot rewrite last term.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| cohort_id | uuid | not null, references cohorts.id | |
| assignment_id | uuid | references assignments.id | |
| quiz_id | uuid | references quizzes.id | |
| title | varchar(255) | not null | |
| max_points | decimal(6,2) | not null | |
| weight_percent | decimal(5,2) | not null | |
| position | smallint | not null |
Indexes (1)
(cohort_id, position)
Relationships
gradebook_items.cohort_idreferencescohorts.idgradebook_items.assignment_idreferencesassignments.idgradebook_items.quiz_idreferencesquizzes.idgrades.gradebook_item_idreferencesgradebook_items