Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null | 
                                        
  | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| organization_id | int8 | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scientific_name | text | 2147483647 | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| common_name | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| family_name | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rare | bool | 1 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| seed_storage_behavior_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created_by | int8 | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created_time | timestamptz | 35,6 | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| modified_by | int8 | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| modified_time | timestamptz | 35,6 | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| deleted_by | int8 | 19 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| deleted_time | timestamptz | 35,6 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| checked_time | timestamptz | 35,6 | √ | null | 
                                         | 
                                    
                                         | 
                                    If non-null, when the species was checked for possible suggested edits. If null, the species has not been checked yet.  | 
                                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| initial_scientific_name | text | 2147483647 | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| conservation_category_id | text | 2147483647 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ecological_role_known | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dbh_source | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| height_at_maturity_source | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| local_uses_known | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| native_ecosystem | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| other_facts | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| average_wood_density | numeric | 0 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| height_at_maturity_value | numeric | 0 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dbh_value | numeric | 0 | √ | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| wood_density_level_id | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| species_pkey1 | Primary key | Asc | id | 
| species__not_checked_ix | Performance | Asc | id | 
| species_organization_id_initial_scientific_name_idx | Performance | Asc/Asc | organization_id + initial_scientific_name | 
| species_organization_id_scientific_name_key | Must be unique | Asc/Asc | organization_id + scientific_name | 
Check Constraints
| Constraint Name | Constraint | 
|---|---|
| species_common_name_check | (common_name !~ similar_to_escape(' *'::text)) | 
| species_family_name_check | (family_name !~ similar_to_escape(' *'::text)) |