Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | INT | 10 | √ | null |
|
|
Primary id for this table. This uniquely identifies the row. |
|||
name | VARCHAR | 255 | null |
|
|
Defines the name of the attribute. |
||||
description | VARCHAR | 255 | √ | null |
|
|
Describes the attribute. This should expand on the name to make it clear what the attribute actually is. |
|||
datatype | enum('categorical', 'numeric', 'text', 'date') | 11 | text |
|
|
Defines the data type of the attribute. This can be of numeric, text, date or categorical types. |
||||
target_table | VARCHAR | 255 | germinatebase |
|
|
|||||
created_on | DATETIME | 26 | √ | CURRENT_TIMESTAMP |
|
|
When the record was created. |
|||
updated_on | TIMESTAMP | 26 | √ | CURRENT_TIMESTAMP |
|
|
When the record was updated. This may be different from the created on date if subsequent changes have been made to the underlying record. |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |