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

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_stock|Part of a stock or a clone of a stock that is used in an experiment}}
+
<protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude>
 +
{{ChadoTableDesc|Natural Diversity|nd_experiment_stock|Part of a stock or a clone of a stock that is used in an experiment}}
 
{{ChadoColumnsHeader|Natural Diversity|nd_experiment_stock}}
 
{{ChadoColumnsHeader|Natural Diversity|nd_experiment_stock}}
{{ChadoColumnDesc||nd_experiment_stock_id|serial|''PRIMARY KEY''
+
{{ChadoColumnDesc||nd_experiment_stock_id|serial|''PRIMARY KEY''<br />
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|Natural Diversity|nd_experiment}}|nd_experiment_id|integer|''NOT NULL''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|Natural Diversity|nd_experiment}}|nd_experiment_id|integer|''NOT NULL''<br />
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|Stock|stock}}|stock_id|integer|''NOT NULL''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|Stock|stock}}|stock_id|integer|''NOT NULL''<br />
 
+
 
stock used in the extraction or the corresponding stock for the clone}}
 
stock used in the extraction or the corresponding stock for the clone}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''NOT NULL''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''NOT NULL''<br />
 
+
 
}}
 
}}
 
{{ChadoColumnsFooter}}
 
{{ChadoColumnsFooter}}
  
 
{{ChadoTablesReferencingHeader|nd_experiment_stock}}
 
{{ChadoTablesReferencingHeader|nd_experiment_stock}}
 
+
* {{ChadoReferencingTable|Natural Diversity|nd_experiment_stock_dbxref}}
* None.
+
* {{ChadoReferencingTable|Natural Diversity|nd_experiment_stockprop}}
 
</protect>
 
</protect>

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_stock
Module: Natural Diversity

Part of a stock or a clone of a stock that is used in an experiment

nd_experiment_stock columns
FK Name Type Description
nd_experiment_stock_id serial PRIMARY KEY
nd_experiment nd_experiment_id integer NOT NULL
stock stock_id integer NOT NULL

stock used in the extraction or the corresponding stock for the clone

cvterm type_id integer NOT NULL


Tables referencing nd_experiment_stock via foreign key constraints: