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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| code | varchar(40) | unique, not null | |
| name | varchar(80) | not null | |
| description | varchar(255) |
Relationships
user_roles.role_idreferencesroles