Difference between revisions of "Template:ChadoTable synonym"
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|synonym|A synonym for a feature. One feature can have multiple synonyms, and the same synonym can apply to multiple features.}} | ||
{{ChadoColumnsHeader|Sequence|synonym}} | {{ChadoColumnsHeader|Sequence|synonym}} | ||
− | {{ChadoColumnDesc||synonym_id|serial|''PRIMARY KEY'' | + | {{ChadoColumnDesc||synonym_id|serial|''PRIMARY KEY''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc||name|character varying(255)|''UNIQUE#1'' | + | {{ChadoColumnDesc||name|character varying(255)|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
The synonym itself. Should be human-readable machine-searchable ascii text.}} | The synonym itself. Should be human-readable machine-searchable ascii text.}} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
Types would be symbol and fullname for now.}} | Types would be symbol and fullname for now.}} | ||
− | {{ChadoColumnDesc||synonym_sgml|character varying(255)|''NOT NULL'' | + | {{ChadoColumnDesc||synonym_sgml|character varying(255)|''NOT NULL''<br /> |
− | + | ||
The fully specified synonym, with any non-ascii characters encoded in SGML.}} | The fully specified synonym, with any non-ascii characters encoded in SGML.}} | ||
{{ChadoColumnsFooter}} | {{ChadoColumnsFooter}} | ||
{{ChadoTablesReferencingHeader|synonym}} | {{ChadoTablesReferencingHeader|synonym}} | ||
− | + | * {{ChadoReferencingTable|Cell Line|cell_line_synonym}} | |
− | * | + | * {{ChadoReferencingTable|Sequence|feature_synonym}} |
+ | * {{ChadoReferencingTable|Library|library_synonym}} | ||
</protect> | </protect> |
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: | synonym |
Module: | Sequence |
A synonym for a feature. One feature can have multiple synonyms, and the same synonym can apply to multiple features.
FK | Name | Type | Description |
---|---|---|---|
synonym_id | serial | PRIMARY KEY | |
name | character varying(255) | UNIQUE#1 NOT NULL | |
cvterm | type_id | integer | UNIQUE#1 NOT NULL |
synonym_sgml | character varying(255) | NOT NULL The fully specified synonym, with any non-ascii characters encoded in SGML. |
Tables referencing synonym via foreign key constraints: