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 |
|
|
Compound full name. |
||||
description | VARCHAR | 255 | √ | null |
|
|
Full description of the compound. This should contain enough infomation to accurately identify the compound and how it was recorded. |
|||
molecular_formula | VARCHAR | 255 | √ | null |
|
|
The molecular formula of the compound. |
|||
monoisotopic_mass | DECIMAL | 64,10 | √ | null |
|
|
The monoisotopic mass of the compound. |
|||
average_mass | DECIMAL | 64,10 | √ | null |
|
|
The average mass of the compound. |
|||
compound_class | VARCHAR | 255 | √ | null |
|
|
A classification of the compound. |
|||
unit_id | INT | 10 | √ | null |
|
|
Foreign Key to units (units.id). |
|||
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 |
compounds_ibfk_unit | Performance | Asc | unit_id |