Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| germinatebase_id | INT | 10 | null |
|
|
||||||
| institution_id | INT | 10 | null |
|
|
||||||
| type | enum('collection', 'maintenance', 'breeding', 'duplicate', 'donor') | 11 | maintenance |
|
|
||||||
| created_on | DATETIME | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated_on | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc/Asc/Asc | germinatebase_id + institution_id + type |
| institution_id | Performance | Asc | institution_id |