Columns
Column | Type | Size | Nulls | Auto | Children | Parents | Comments | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
physical_sample_id | int4 | 10 | √ |
|
|
Primary key (automatically incremented). |
||||||||||||||||||||||||||||||||||
sample_group_id | int4 | 10 |
|
|
Identifies the specific sample group this sample belongs to. |
|||||||||||||||||||||||||||||||||||
alt_ref_type_id | int4 | 10 | √ |
|
|
Specifies the type of the primary sample name, such as lab or museum number. |
||||||||||||||||||||||||||||||||||
sample_type_id | int4 | 10 |
|
|
Specifies the physical form of the sample, such as bulk sample or core subsample. |
|||||||||||||||||||||||||||||||||||
sample_name | varchar(50) | 50 |
|
|
Primary reference number or name of the sample. Additional references can be recorded as alternative names. |
|||||||||||||||||||||||||||||||||||
date_updated | timestamptz | 35,6 | √ |
|
|
|||||||||||||||||||||||||||||||||||
date_sampled | varchar | 2147483647 | √ |
|
|
The date when the sample was collected. |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
tbl_physical_samples_pkey | Primary key | Asc | physical_sample_id |
idx_physical_samples_alt_ref_type_id | Performance | Asc | alt_ref_type_id |
idx_physical_samples_sample_group_id | Performance | Asc | sample_group_id |
idx_physical_samples_sample_type_id | Performance | Asc | sample_type_id |