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)

Columns of the gradebook_items table
ColumnTypeConstraintsDescription
iduuidprimary key
cohort_iduuidnot null, references cohorts.id
assignment_iduuidreferences assignments.id
quiz_iduuidreferences quizzes.id
titlevarchar(255)not null
max_pointsdecimal(6,2)not null
weight_percentdecimal(5,2)not null
positionsmallintnot null

Indexes (1)

  • (cohort_id, position)

Relationships