Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
sample_id | int4 | 10 | null |
|
|
PK/FK. ID for the sample. Links to the sample table. Part of composite primary key. |
||||
person_id | int4 | 10 | null |
|
|
PK/FK. ID for the person who provided the details of the sample (e.g. lithology, color). Links to the sample table. Part of composite primary key. |
||||
timestamp_created | timestamptz | 35,6 | now() |
|
|
|||||
timestamp_modified | timestamptz | 35,6 | √ | now() |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
sample_provided_by_id | Primary key | Asc/Asc | sample_id + person_id |