Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| geol_context_id | serial | 10 | √ | nextval('geol_context_geol_context_id_seq'::regclass) | 
                                        
  | 
                                    
                                         | 
                                    PK. Unique identifier. Generated by database  | 
                                |||||
| env_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    FK. ID for the environment. Links to the environment table.  | 
                                |||||
| age_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    FK. ID for the geological age. Links to the geol_age table.  | 
                                |||||
| geol_context_notes | varchar | 4000 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||
| timestamp_created | timestamptz | 35,6 | now() | 
                                         | 
                                    
                                         | 
                                    |||||||
| timestamp_modified | timestamptz | 35,6 | √ | now() | 
                                         | 
                                    
                                         | 
                                    ||||||
| lithostrat_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    FK. ID for the lithostratigraphy. Links to the lithostrat table  | 
                                |||||
| biostrat_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    FK. ID for the biostratigraphy. Links to the biostrat table.  | 
                                
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| geol_context_id | Primary key | Asc | geol_context_id | 

