Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| project_id | int4 | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    |||||
| project_personnel_id | serial | 10 | √ | nextval('moped_proj_personnel_project_personnel_id_seq'::regclass) | 
                                        
  | 
                                    
                                         | 
                                    ||||
| created_at | timestamptz | 35,6 | now() | 
                                         | 
                                    
                                         | 
                                    Timestamp when the record was created  | 
                                ||||
| created_by_user_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ID of the user who created the record  | 
                                |||
| notes | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||
| user_id | int4 | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    |||||
| is_deleted | bool | 1 | false | 
                                         | 
                                    
                                         | 
                                    Indicates soft deletion  | 
                                ||||
| updated_at | timestamptz | 35,6 | now() | 
                                         | 
                                    
                                         | 
                                    Timestamp when the record was last updated  | 
                                ||||
| updated_by_user_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ID of the user who last updated the record  | 
                                
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| moped_proj_personnel_pkey | Primary key | Asc | project_personnel_id | 
| moped_proj_personnel_project_id_idx | Performance | Asc | project_id | 
| moped_proj_personnel_project_id_user_id_key | Must be unique | Asc/Asc | project_id + user_id | 
| moped_proj_personnel_project_personnel_id_key | Must be unique | Asc | project_personnel_id |