Difference between revisions of "Template:ChadoTable pub dbxref"

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|Publication|pub_dbxref|Handle links to repositories,
+
<protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude>
 +
{{ChadoTableDesc|Publication|pub_dbxref|Handle links to repositories,
 
e.g. Pubmed, Biosis, zoorec, OCLC, Medline, ISSN, coden...}}
 
e.g. Pubmed, Biosis, zoorec, OCLC, Medline, ISSN, coden...}}
 
{{ChadoColumnsHeader|Publication|pub_dbxref}}
 
{{ChadoColumnsHeader|Publication|pub_dbxref}}
{{ChadoColumnDesc||pub_dbxref_id|serial|''PRIMARY KEY''
+
{{ChadoColumnDesc||pub_dbxref_id|serial|''PRIMARY KEY''<br />
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|General|dbxref}}|dbxref_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|General|dbxref}}|dbxref_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
}}
 
}}
{{ChadoColumnDesc||is_current|boolean|''NOT NULL''
+
{{ChadoColumnDesc||is_current|boolean|''NOT NULL''<br />
 
+
''DEFAULT ''true<br />
''DEFAULT ''true
+
 
+
 
}}
 
}}
 
{{ChadoColumnsFooter}}
 
{{ChadoColumnsFooter}}
  
 
{{ChadoTablesReferencingHeader|pub_dbxref}}
 
{{ChadoTablesReferencingHeader|pub_dbxref}}
 
+
* 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: pub_dbxref
Module: Publication

Handle links to repositories, e.g. Pubmed, Biosis, zoorec, OCLC, Medline, ISSN, coden...

pub_dbxref columns
FK Name Type Description
pub_dbxref_id serial PRIMARY KEY
pub pub_id integer UNIQUE#1

NOT NULL

dbxref dbxref_id integer UNIQUE#1

NOT NULL

is_current boolean NOT NULL

DEFAULT true


Tables referencing pub_dbxref via foreign key constraints:

  • None.