Difference between revisions of "Template:ChadoTable featureloc pub"
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|Sequence|featureloc_pub|Provenance of featureloc. Linking table between featurelocs and publications that mention them.}} | ||
{{ChadoColumnsHeader|Sequence|featureloc_pub}} | {{ChadoColumnsHeader|Sequence|featureloc_pub}} | ||
− | {{ChadoColumnDesc||featureloc_pub_id|serial|''PRIMARY KEY'' | + | {{ChadoColumnDesc||featureloc_pub_id|serial|''PRIMARY KEY''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|featureloc}}|featureloc_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|featureloc}}|featureloc_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
{{ChadoColumnsFooter}} | {{ChadoColumnsFooter}} | ||
{{ChadoTablesReferencingHeader|featureloc_pub}} | {{ChadoTablesReferencingHeader|featureloc_pub}} | ||
− | + | * None.</protect> | |
− | * None. | + | |
− | </protect> | + |
Latest revision as of 19:21, 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: | featureloc_pub |
Module: | Sequence |
Provenance of featureloc. Linking table between featurelocs and publications that mention them.
FK | Name | Type | Description |
---|---|---|---|
featureloc_pub_id | serial | PRIMARY KEY | |
featureloc | featureloc_id | integer | UNIQUE#1 NOT NULL |
pub | pub_id | integer | UNIQUE#1 NOT NULL
|
Tables referencing featureloc_pub via foreign key constraints:
- None.