Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| preparation_number | varchar | 25 | ''::character varying |
|
|
||||||||||||
| sample_number | varchar | 25 | √ | NULL::character varying |
|
|
|||||||||||
| sample_id | int8 | 19 | √ | null |
|
|
|||||||||||
| sample_palaeontology_id | int8 | 19 | √ | null |
|
|
|||||||||||
| analysis_id | int8 | 19 | √ | null |
|
|
|||||||||||
| class_id | int8 | 19 | √ | null |
|
|
|||||||||||
| agent_id | int8 | 19 | √ | null |
|
|
prepared by |
||||||||||
| agent_txt | varchar | 255 | √ | NULL::character varying |
|
|
prepared by txt |
||||||||||
| date_prepared | date | 13 | √ | null |
|
|
|||||||||||
| date_prepared_txt | varchar | 25 | √ | NULL::character varying |
|
|
|||||||||||
| identification_agent_id | int8 | 19 | √ | null |
|
|
|||||||||||
| identification_date | date | 13 | √ | null |
|
|
|||||||||||
| identification_remarks | varchar | 255 | √ | NULL::character varying |
|
|
|||||||||||
| location | varchar | 20 | √ | NULL::character varying |
|
|
|||||||||||
| storage_id | int8 | 19 | √ | null |
|
|
|||||||||||
| remarks | text | 2147483647 | √ | null |
|
|
|||||||||||
| 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 |
|
|
|||||||||||
| owner_id | int8 | 19 | √ | null |
|
|
|||||||||||
| public | bool | 1 | false |
|
|
||||||||||||
| is_private | bool | 1 | false |
|
|
||||||||||||
| database_id | int2 | 5 | '1'::smallint |
|
|
||||||||||||
| id | bigserial | 19 | √ | nextval('preparation_id_seq'::regclass) |
|
|
|||||||||||
| timestamp | timestamptz | 35,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| idx_750591_primary | Primary key | Asc | id |
| idx_750591_agent_id | Performance | Asc | agent_id |
| idx_750591_analysis_id | Performance | Asc | analysis_id |
| idx_750591_class_id | Performance | Asc | class_id |
| idx_750591_database_id | Performance | Asc | database_id |
| idx_750591_identification_agent_id | Performance | Asc | identification_agent_id |
| idx_750591_is_private | Performance | Asc | is_private |
| idx_750591_location | Performance | Asc | location |
| idx_750591_owner_id | Performance | Asc | owner_id |
| idx_750591_preparation_number | Must be unique | Asc | preparation_number |
| idx_750591_public | Performance | Asc | public |
| idx_750591_sample_id | Performance | Asc | sample_id |
| idx_750591_sample_palaeontology_id | Performance | Asc | sample_palaeontology_id |
| idx_750591_storage_id | Performance | Asc | storage_id |

