Difference between revisions of "Template:ChadoTable phenotype cvterm"

From GMOD
Jump to: navigation, search
(Table definition, first upload on 2010/11/22.)
 
(Table definition for Chado on 2010/11/24)
 
Line 1: Line 1:
<noinclude>{{ChadoTableTemplateHeader}}</noinclude><protect>{{ChadoTableDesc|Phenotype|phenotype_cvterm|}}
+
<protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude>
 +
{{ChadoTableDesc|Phenotype|phenotype_cvterm|}}
 
{{ChadoColumnsHeader|Phenotype|phenotype_cvterm}}
 
{{ChadoColumnsHeader|Phenotype|phenotype_cvterm}}
{{ChadoColumnDesc||phenotype_cvterm_id|serial|''PRIMARY KEY''
+
{{ChadoColumnDesc||phenotype_cvterm_id|serial|''PRIMARY KEY''<br />
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|Phenotype|phenotype}}|phenotype_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|Phenotype|phenotype}}|phenotype_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
}}
 
}}
{{ChadoColumnDesc||rank|integer|''UNIQUE#1''
+
{{ChadoColumnDesc||rank|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
}}
 
}}
 
{{ChadoColumnsFooter}}
 
{{ChadoColumnsFooter}}
  
 
{{ChadoTablesReferencingHeader|phenotype_cvterm}}
 
{{ChadoTablesReferencingHeader|phenotype_cvterm}}
 
+
* None.</protect>
* None.
+
</protect>
+

Latest revision as of 19:23, 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:

  1. The module page for the module the table is a part of. This is where updates and comments should be posted.
  2. The Chado Tables page, which lists all tables.

You can include this template anywhere you want to show the table description.


Table: phenotype_cvterm
Module: Phenotype


phenotype_cvterm columns
FK Name Type Description
phenotype_cvterm_id serial PRIMARY KEY
phenotype phenotype_id integer UNIQUE#1

NOT NULL

cvterm cvterm_id integer UNIQUE#1

NOT NULL

rank integer UNIQUE#1

NOT NULL


Tables referencing phenotype_cvterm via foreign key constraints:

  • None.