Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||
| questionid | BIGINT | 19 | 0 | 
                                         | 
                                    
                                        
  | 
                                    |||||
| layouttype | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    Layout type - horizontal or vertical  | 
                                ||||
| selecttype | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    Select type - all, random etc.  | 
                                ||||
| selectcount | SMALLINT | 5 | 2 | 
                                         | 
                                    
                                         | 
                                    The number to select.  | 
                                ||||
| gradingtype | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    Which grading strategy to use. One of the GRADING_… constants.  | 
                                ||||
| showgrading | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    Should details of the grading calculation be shown to students.  | 
                                ||||
| numberingstyle | VARCHAR | 10 | none | 
                                         | 
                                    
                                         | 
                                    Indicates whether and how choices should be numbered.  | 
                                ||||
| correctfeedback | LONGTEXT | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||
| correctfeedbackformat | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    |||||
| incorrectfeedback | LONGTEXT | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||
| incorrectfeedbackformat | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    |||||
| partiallycorrectfeedback | LONGTEXT | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||
| partiallycorrectfeedbackformat | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    |||||
| shownumcorrect | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| PRIMARY | Primary key | Asc | id | 
| qtypordeopti_que_uix | Must be unique | Asc | questionid |