roles table

The roles table in the Learning Management System Database Schema schema has 4 columns, keyed by id. 1 column in user_roles references it.

Named permission bundles: student, instructor, teaching_assistant, admin. Roles are data, not an enum, so a deployment can add its own.

Columns (4)

Columns of the roles table
ColumnTypeConstraintsDescription
iduuidprimary key
codevarchar(40)unique, not null
namevarchar(80)not null
descriptionvarchar(255)

Relationships