Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| location | varchar | 20 | null |
|
|
|||||||||||||||||||||||||||||||||
| location_new | varchar | 20 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||
| location_old | varchar | 20 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||
| location_location | varchar | 20 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||
| parent_location_id | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| contents | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| agent_id | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| date_collected_free | varchar | 10 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||
| stratigraphy_free | varchar | 25 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||
| number_items | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| number_items_registered | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| selected | bool | 1 | false |
|
|
|||||||||||||||||||||||||||||||||
| remarks | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| database_id | int2 | 5 | '1'::smallint |
|
|
|||||||||||||||||||||||||||||||||
| user_added | varchar | 50 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||
| date_added | timestamptz | 35,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| user_changed | varchar | 50 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||
| date_changed | timestamptz | 35,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||
| id | bigserial | 19 | √ | nextval('location_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||||||||
| timestamp | timestamptz | 35,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| idx_750299_primary | Primary key | Asc | id |
| idx_750299_agent_id | Performance | Asc | agent_id |
| idx_750299_database_id | Performance | Asc | database_id |
| idx_750299_location | Must be unique | Asc | location |
| idx_750299_location_2 | Must be unique | Asc/Asc | location + database_id |
| idx_750299_location_location | Performance | Asc | location_location |
| idx_750299_location_new | Must be unique | Asc | location_new |
| idx_750299_location_old | Performance | Asc | location_old |
| idx_750299_number_items_registered | Performance | Asc | number_items_registered |
| idx_750299_parent_location_id | Performance | Asc | parent_location_id |

