Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
batch_id | serial | 10 | √ | nextval('batch_batch_id_seq'::regclass) |
|
|
PK. Unique ID for a batch. Generated by the database. |
||||||||||
lab_id | int4 | 10 | √ | null |
|
|
FK. ID for the laboratory where the analysis was undertaken. Links to the institution table. |
||||||||||
lab_batch_id | varchar | 50 | √ | null |
|
|
The batch number issued by an analytical laboratory to identify the batch of samples, this will almost certainly be unique for each laboratory but may not be globally unique. |
||||||||||
end_date | date | 13 | √ | null |
|
|
End date of the analysis |
||||||||||
timestamp_created | timestamptz | 35,6 | now() |
|
|
||||||||||||
timestamp_modified | timestamptz | 35,6 | √ | now() |
|
|
|||||||||||
batch_notes | varchar | 4000 | null |
|
|
Brief description of the batch |
|||||||||||
start_date | date | 13 | √ | null |
|
|
Start date of the analysis |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
batch_id | Primary key | Asc | batch_id |