Difference between revisions of "Template:ChadoTable element"
From GMOD
(Table definition, first upload on 2010/11/22.) |
(Table definition for Chado on 2010/11/24) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{ChadoTableTemplateHeader}}</noinclude> | + | <protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude> |
+ | {{ChadoTableDesc|Mage|element|Represents a feature of the array. This is typically a region of the array coated or bound to DNA.}} | ||
{{ChadoColumnsHeader|Mage|element}} | {{ChadoColumnsHeader|Mage|element}} | ||
− | {{ChadoColumnDesc||element_id|serial|''PRIMARY KEY'' | + | {{ChadoColumnDesc||element_id|serial|''PRIMARY KEY''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature}}|feature_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature}}|feature_id|integer|''UNIQUE#1''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Mage|arraydesign}}|arraydesign_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Mage|arraydesign}}|arraydesign_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|}} | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|}} | ||
Line 17: | Line 14: | ||
{{ChadoTablesReferencingHeader|element}} | {{ChadoTablesReferencingHeader|element}} | ||
− | + | {{ChadoReferencingTable|Mage|element_relationship}} | |
− | + | {{ChadoReferencingTable|Mage|elementresult}} | |
</protect> | </protect> |
Latest revision as of 19:57, 24 November 2010
This template is a Chado Table Template. It defines a single table from the Chado schema, and every Chado table has a template like this one. This template is automatically included in two places:
- The module page for the module the table is a part of. This is where updates and comments should be posted.
- The Chado Tables page, which lists all tables.
You can include this template anywhere you want to show the table description.
Table: | element |
Module: | Mage |
Represents a feature of the array. This is typically a region of the array coated or bound to DNA.
FK | Name | Type | Description |
---|---|---|---|
element_id | serial | PRIMARY KEY | |
feature | feature_id | integer | UNIQUE#1 |
arraydesign | arraydesign_id | integer | UNIQUE#1 NOT NULL |
cvterm | type_id | integer | |
dbxref | dbxref_id | integer |
Tables referencing element via foreign key constraints: