NOTE: We are working on migrating this site away from MediaWiki, so editing pages will be disabled for now.
Difference between revisions of "Template:ChadoTable feature relationshipprop"
(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|feature_relationshipprop|Extensible properties | ||
for feature_relationships. Analagous structure to featureprop. This | for feature_relationships. Analagous structure to featureprop. This | ||
table is largely optional and not used with a high frequency. Typical | table is largely optional and not used with a high frequency. Typical | ||
Line 6: | Line 7: | ||
feature_relationship is only true in certain contexts.}} | feature_relationship is only true in certain contexts.}} | ||
{{ChadoColumnsHeader|Sequence|feature_relationshipprop}} | {{ChadoColumnsHeader|Sequence|feature_relationshipprop}} | ||
− | {{ChadoColumnDesc||feature_relationshipprop_id|serial|''PRIMARY KEY'' | + | {{ChadoColumnDesc||feature_relationshipprop_id|serial|''PRIMARY KEY''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature_relationship}}|feature_relationship_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature_relationship}}|feature_relationship_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
− | {{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 | The name of the | ||
property/slot is a cvterm. The meaning of the property is defined in | property/slot is a cvterm. The meaning of the property is defined in | ||
Line 26: | Line 22: | ||
text representation. This is less efficient than using native database | text representation. This is less efficient than using native database | ||
types, but is easier to query.}} | types, but is easier to query.}} | ||
− | {{ChadoColumnDesc||rank|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc||rank|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
Property-Value | Property-Value | ||
ordering. Any feature_relationship can have multiple values for any particular | ordering. Any feature_relationship can have multiple values for any particular | ||
Line 38: | Line 32: | ||
{{ChadoTablesReferencingHeader|feature_relationshipprop}} | {{ChadoTablesReferencingHeader|feature_relationshipprop}} | ||
− | + | * {{ChadoReferencingTable|Sequence|feature_relationshipprop_pub}} | |
− | * | + | |
</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:
- 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: | feature_relationshipprop |
Module: | Sequence |
Extensible properties for feature_relationships. Analagous structure to featureprop. This table is largely optional and not used with a high frequency. Typical scenarios may be if one wishes to attach additional data to a feature_relationship - for example to say that the feature_relationship is only true in certain contexts.
FK | Name | Type | Description |
---|---|---|---|
feature_relationshipprop_id | serial | PRIMARY KEY | |
feature_relationship | feature_relationship_id | integer | UNIQUE#1 NOT NULL |
cvterm | type_id | integer | UNIQUE#1 NOT NULL |
value | text | The value of the
property, represented as text. Numeric values are converted to their text representation. This is less efficient than using native database types, but is easier to query. | |
rank | integer | UNIQUE#1 NOT NULL |
Tables referencing feature_relationshipprop via foreign key constraints: