attributedata


Description

Defines attributes data. Attributes which are defined in attributes can have values associated with them. Data which does not warrant new column in the germinatebase table can be added here. Examples include small amounts of data defining germplasm which only exists for a small sub-group of the total database.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 null

Primary id for this table. This uniquely identifies the row.

attribute_id INT 10 null
attributes.id attributedata_ibfk_1C

Foreign key to attributes (attributes.id).

foreign_id INT 10 null

Foreign key to germinatebase (germinatebase.id).

value MEDIUMTEXT 16777215 null

The value of the attribute.

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
attribute_id Performance Asc attribute_id
germinatebase_id Performance Asc foreign_id

Relationships