Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| project_name | text | 2147483647 | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||
| project_description | text | 2147483647 | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||
| ecapris_subproject_id | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| project_id | serial | 10 | √ | nextval('moped_project_project_id_simple_seq'::regclass) | 
                                        
  | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| date_added | timestamptz | 35,6 | √ | clock_timestamp() | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| added_by | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| is_deleted | bool | 1 | false | 
                                         | 
                                    
                                         | 
                                    Indicates soft deletion  | 
                                ||||||||||||||||||||||||||||||
| updated_at | timestamptz | 35,6 | √ | now() | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| project_sponsor | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| project_website | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| knack_project_id | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| parent_project_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| interim_project_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| project_lead_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| public_process_status_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||
| is_migrated_from_access_db | bool | 1 | false | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||
| updated_by_user_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    User ID of the person who last updated the project  | 
                                |||||||||||||||||||||||||||||
| project_name_secondary | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| project_name_full | text | 2147483647 | √ | COALESCE(((project_name || ' - '::text) || project_name_secondary), project_name) | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||
| should_sync_ecapris_statuses | bool | 1 | false | 
                                         | 
                                    
                                         | 
                                    Indicates if project statuses should be synced with eCapris  | 
                                
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| moped_project_pkey | Primary key | Asc | project_id | 
| moped_project_is_retired_index | Performance | Asc | is_deleted | 
| moped_project_name_idx | Performance | Asc | project_name | 
| moped_project_parent_id_idx | Performance | Asc | parent_project_id | 
| moped_project_project_id_simple_key | Must be unique | Asc | project_id | 
| moped_project_updated_at_idx | Performance | Asc | updated_at |