Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||
| roleid | BIGINT | 19 | 0 | 
                                         | 
                                    
                                        
  | 
                                    |||||
| contextid | BIGINT | 19 | 0 | 
                                         | 
                                    
                                        
  | 
                                    |||||
| userid | BIGINT | 19 | 0 | 
                                         | 
                                    
                                        
  | 
                                    |||||
| timemodified | BIGINT | 19 | 0 | 
                                         | 
                                    
                                         | 
                                    |||||
| modifierid | BIGINT | 19 | 0 | 
                                         | 
                                    
                                         | 
                                    |||||
| component | VARCHAR | 100 | 
                                         | 
                                    
                                         | 
                                    plugin responsible responsible for role assignment, empty when manually assigned  | 
                                |||||
| itemid | BIGINT | 19 | 0 | 
                                         | 
                                    
                                         | 
                                    Id of enrolment/auth instance responsible for this role assignment  | 
                                ||||
| sortorder | BIGINT | 19 | 0 | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| PRIMARY | Primary key | Asc | id | 
| roleassi_comiteuse_ix | Performance | Asc/Asc/Asc | component + itemid + userid | 
| roleassi_con_ix | Performance | Asc | contextid | 
| roleassi_rol_ix | Performance | Asc | roleid | 
| roleassi_rolcon_ix | Performance | Asc/Asc | roleid + contextid | 
| roleassi_sor_ix | Performance | Asc | sortorder | 
| roleassi_use_ix | Performance | Asc | userid | 
| roleassi_useconrol_ix | Performance | Asc/Asc/Asc | userid + contextid + roleid |