Difference between revisions of "Template:ChadoTable stock relationship cvterm"
From GMOD
(Table definition, first upload on 2010/11/22.) |
(Table definition for Chado on 2010/11/24) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{ChadoTableTemplateHeader}}</noinclude> | + | <protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude> |
+ | {{ChadoTableDesc|Stock|stock_relationship_cvterm|For germplasm maintenance and pedigree data, stock_relationship. type_id will record cvterms such as "is a female parent of", "a parent for mutation", "is a group_id of", "is a source_id of", etc The cvterms for higher categories such as "generative", "derivative" or "maintenance" can be stored in table stock_relationship_cvterm}} | ||
{{ChadoColumnsHeader|Stock|stock_relationship_cvterm}} | {{ChadoColumnsHeader|Stock|stock_relationship_cvterm}} | ||
− | {{ChadoColumnDesc||stock_relationship_cvterm_id|serial|''PRIMARY KEY'' | + | {{ChadoColumnDesc||stock_relationship_cvterm_id|serial|''PRIMARY KEY''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc||stock_relatiohship_id|integer|''NOT NULL'' | + | {{ChadoColumnDesc||stock_relatiohship_id|integer|''NOT NULL''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''NOT NULL'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''NOT NULL''<br /> |
− | + | ||
}} | }} | ||
{{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|}} | {{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|}} | ||
Line 14: | Line 12: | ||
{{ChadoTablesReferencingHeader|stock_relationship_cvterm}} | {{ChadoTablesReferencingHeader|stock_relationship_cvterm}} | ||
− | + | * None.</protect> | |
− | * None. | + | |
− | </protect> | + |
Latest revision as of 19:22, 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: | stock_relationship_cvterm |
Module: | Stock |
For germplasm maintenance and pedigree data, stock_relationship. type_id will record cvterms such as "is a female parent of", "a parent for mutation", "is a group_id of", "is a source_id of", etc The cvterms for higher categories such as "generative", "derivative" or "maintenance" can be stored in table stock_relationship_cvterm
FK | Name | Type | Description |
---|---|---|---|
stock_relationship_cvterm_id | serial | PRIMARY KEY | |
stock_relatiohship_id | integer | NOT NULL | |
cvterm | cvterm_id | integer | NOT NULL |
pub | pub_id | integer |
Tables referencing stock_relationship_cvterm via foreign key constraints:
- None.