Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| lith_id | serial | 10 | √ | nextval('dic_lithology_lith_id_seq'::regclass) | 
                                        
  | 
                                    
                                         | 
                                    PK. Unique identifier. Generated by database  | 
                                |||
| lith_name | varchar | 100 | √ | null | 
                                         | 
                                    
                                         | 
                                    Lithological name e.g. shale, mudstone  | 
                                |||
| lith_type | varchar | 50 | √ | null | 
                                         | 
                                    
                                         | 
                                    Lithological type e.g. siliciclastic, carbonate, chemical  | 
                                |||
| lith_class | varchar | 50 | √ | null | 
                                         | 
                                    
                                         | 
                                    Lithological class e.g. sedimentary, metamorphic  | 
                                |||
| timestamp_created | timestamptz | 35,6 | √ | now() | 
                                         | 
                                    
                                         | 
                                    ||||
| timestamp_modified | timestamptz | 35,6 | √ | now() | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| lith_id | Primary key | Asc | lith_id | 
| lith_class_lower_idx | Performance | ||
| lith_name_lower_idx | Performance | ||
| lith_type_lower_idx | Performance | 

