Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null | 
                                        
  | 
                                    
                                         | 
                                    ||||
| userid | BIGINT | 19 | null | 
                                         | 
                                    
                                         | 
                                    User associated to the competency.  | 
                                ||||
| competencyid | BIGINT | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    Competency associated to the user.  | 
                                ||||
| status | TINYINT | 3 | 0 | 
                                         | 
                                    
                                         | 
                                    Competency status.  | 
                                ||||
| reviewerid | BIGINT | 19 | √ | null | 
                                         | 
                                    
                                         | 
                                    User that reviewed the competency.  | 
                                |||
| proficiency | TINYINT | 3 | √ | null | 
                                         | 
                                    
                                         | 
                                    Indicate if the competency is proficient not.  | 
                                |||
| grade | BIGINT | 19 | √ | null | 
                                         | 
                                    
                                         | 
                                    Grade assigned to the competency.  | 
                                |||
| timecreated | BIGINT | 19 | null | 
                                         | 
                                    
                                         | 
                                    |||||
| timemodified | BIGINT | 19 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||
| usermodified | BIGINT | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| PRIMARY | Primary key | Asc | id | 
| competency_usercomp_erd_competency | Performance | Asc | competencyid | 
| compuser_use_ix | Performance | Asc | usermodified | 
| compuser_usecom_uix | Must be unique | Asc/Asc | userid + competencyid |