Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| project_id | int8 | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||
| phase_id | int4 | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||
| score_category_id | int4 | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||
| score | int4 | 10 | √ | null | 
                                         | 
                                    
                                         | 
                                    Integer score between -2 to 2. The score can be null to represent not yet scored.  | 
                                ||||
| qualitative | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| created_by | int8 | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||
| created_time | timestamptz | 35,6 | null | 
                                         | 
                                    
                                         | 
                                    ||||||
| modified_by | int8 | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||
| modified_time | timestamptz | 35,6 | null | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| project_scores_pkey | Primary key | Asc/Asc/Asc | project_id + phase_id + score_category_id | 
| project_scores_project_id_idx | Performance | Asc | project_id | 
Check Constraints
| Constraint Name | Constraint | 
|---|---|
| project_scores_score_check | ((score >= '-2'::integer) AND (score <= 2)) |