quizzes table
The quizzes 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 quiz_questions, quiz_attempts and gradebook_items reference it.
Columns (10)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| course_id | uuid | not null, references courses.id | |
| module_id | uuid | references modules.id | |
| title | varchar(255) | not null | |
| instructions | text | ||
| time_limit_minutes | smallint | ||
| max_attempts | smallint | ||
| passing_score_percent | smallint | ||
| shuffle_questions | boolean | not null | |
| shows_answers_after | attempt_review_policy | not null |
Indexes (1)
(course_id)
Relationships
quizzes.course_idreferencescourses.idquizzes.module_idreferencesmodules.idquiz_questions.quiz_idreferencesquizzesquiz_attempts.quiz_idreferencesquizzesgradebook_items.quiz_idreferencesquizzes