Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
|||||
| batch_id | int8 | 19 | null |
|
|
||||||
| version | int4 | 10 | null |
|
|
||||||
| created_by | int8 | 19 | null |
|
|
||||||
| created_time | timestamptz | 35,6 | null |
|
|
||||||
| notes | text | 2147483647 | √ | null |
|
|
|||||
| ready_by_date | date | 13 | √ | null |
|
|
|||||
| project_id | int8 | 19 | √ | null |
|
|
|||||
| project_name | text | 2147483647 | √ | null |
|
|
Name of project as of the time the batch was edited. Not updated if project is later renamed. |
||||
| substrate_id | int4 | 10 | √ | null |
|
|
|||||
| substrate_notes | text | 2147483647 | √ | null |
|
|
|||||
| treatment_id | int4 | 10 | √ | null |
|
|
|||||
| treatment_notes | text | 2147483647 | √ | null |
|
|
|||||
| germination_started_date | date | 13 | √ | null |
|
|
|||||
| seeds_sown_date | date | 13 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| batch_details_history_pkey | Primary key | Asc | id |
| batch_details_history_batch_id_version_key | Must be unique | Asc/Asc | batch_id + version |
| batch_details_history_created_by_idx | Performance | Asc | created_by |
| batch_details_history_project_id_idx | Performance | Asc | project_id |