Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null | 
                                        
  | 
                                    
                                         | 
                                    ||||||
| questioncategoryid | BIGINT | 19 | 0 | 
                                         | 
                                    
                                        
  | 
                                    ID of the category this question is part of.  | 
                                ||||||
| idnumber | VARCHAR | 100 | √ | null | 
                                         | 
                                    
                                         | 
                                    Unique identifier, useful especially for mapping to external entities.  | 
                                |||||
| ownerid | BIGINT | 19 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    userid of person who owns this question bank entry.  | 
                                
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| PRIMARY | Primary key | Asc | id | 
| quesbankentr_own_ix | Performance | Asc | ownerid | 
| quesbankentr_que_ix | Performance | Asc | questioncategoryid | 
| quesbankentr_queidn_uix | Must be unique | Asc/Asc | questioncategoryid + idnumber |