Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
seedlot_source_code | varchar | 3 | null |
|
|
A code to indicate if an orchard seedlot is from tested parent trees, untested or custom. |
||||||||
description | varchar | 120 | null |
|
|
A description for the affiliated code. |
||||||||
effective_date | date | 13 | null |
|
|
The effective date the code is in effect |
||||||||
expiry_date | date | 13 | null |
|
|
The date the code expires on. |
||||||||
update_timestamp | timestamp | 29,6 | √ | CURRENT_TIMESTAMP |
|
|
The date and time of the last update. |
|||||||
default_source_ind | bool | 1 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
seedlot_source_list_pk | Primary key | Asc | seedlot_source_code |
only_one_default_source | Must be unique | Asc | default_source_ind |