Difference between revisions of "Template:ChadoTable nd experiment stockprop"

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|Natural Diversity|nd_experiment_stockprop|Property/value associations for experiment_stocks. This table can store the properties such as treatment}}
+
<protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude>
 +
{{ChadoTableDesc|Natural Diversity|nd_experiment_stockprop|Property/value associations for experiment_stocks. This table can store the properties such as treatment}}
 
{{ChadoColumnsHeader|Natural Diversity|nd_experiment_stockprop}}
 
{{ChadoColumnsHeader|Natural Diversity|nd_experiment_stockprop}}
{{ChadoColumnDesc||nd_experiment_stockprop_id|serial|''PRIMARY KEY''
+
{{ChadoColumnDesc||nd_experiment_stockprop_id|serial|''PRIMARY KEY''<br />
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|Natural Diversity|nd_experiment_stock}}|nd_experiment_stock_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|Natural Diversity|nd_experiment_stock}}|nd_experiment_stock_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
The experiment_stock to which the property applies.}}
 
The experiment_stock to which the property applies.}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
The name of the property as a reference to a controlled vocabulary term.}}
 
The name of the property as a reference to a controlled vocabulary term.}}
 
{{ChadoColumnDesc||value|character varying(255)|The value of the property.}}
 
{{ChadoColumnDesc||value|character varying(255)|The value of the property.}}
{{ChadoColumnDesc||rank|integer|''UNIQUE#1''
+
{{ChadoColumnDesc||rank|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
The rank of the property value, if the property has an array of values.}}
 
The rank of the property value, if the property has an array of values.}}
 
{{ChadoColumnsFooter}}
 
{{ChadoColumnsFooter}}
  
 
{{ChadoTablesReferencingHeader|nd_experiment_stockprop}}
 
{{ChadoTablesReferencingHeader|nd_experiment_stockprop}}
 
+
* 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: nd_experiment_stockprop
Module: Natural Diversity

Property/value associations for experiment_stocks. This table can store the properties such as treatment

nd_experiment_stockprop columns
FK Name Type Description
nd_experiment_stockprop_id serial PRIMARY KEY
nd_experiment_stock nd_experiment_stock_id integer UNIQUE#1

NOT NULL
The experiment_stock to which the property applies.

cvterm type_id integer UNIQUE#1

NOT NULL
The name of the property as a reference to a controlled vocabulary term.

value character varying(255) The value of the property.
rank integer UNIQUE#1

NOT NULL
The rank of the property value, if the property has an array of values.

Tables referencing nd_experiment_stockprop via foreign key constraints:

  • None.