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)

Columns of the assignments table
ColumnTypeConstraintsDescription
iduuidprimary key
course_iduuidnot null, references courses.id
module_iduuidreferences modules.id
titlevarchar(255)not null
instructionstext
max_pointsdecimal(6,2)not null
due_attimestamptz
allows_latebooleannot null
late_penalty_percentsmallint
max_attemptssmallint

Indexes (1)

  • (course_id, due_at)

Relationships