Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
batch_id | int4 | 10 | null |
|
|
PK/FK. ID for a batch. Links to the batch table. Part of composite primary key. |
||||||
sample_id | int4 | 10 | null |
|
|
PK/FK. ID for the sample. 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) |
---|---|---|---|
batch_sample_id | Primary key | Asc/Asc | batch_id + sample_id |
batch_sample_batch_id_idx | Performance | Asc | batch_id |
batch_sample_sample_id_idx | Performance | Asc | sample_id |