quiz_questions table
The quiz_questions table in the Learning Management System Database Schema schema has 7 columns, keyed by id, with 1 foreign key to quizzes. 2 columns in question_options and quiz_answers reference it.
Columns (7)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| quiz_id | uuid | not null, references quizzes.id | |
| type | question_type | not null | |
| prompt | text | not null | |
| points | decimal(6,2) | not null | |
| explanation | text | ||
| position | smallint | not null |
Indexes (1)
(quiz_id, position)unique
Relationships
quiz_questions.quiz_idreferencesquizzes.idquestion_options.question_idreferencesquiz_questionsquiz_answers.question_idreferencesquiz_questions