Schema Version: 1.3

feature_relationshipprop


Description

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.

Columns

Column Type Size Foreign Key Nullable Default Comments
feature_relationshipprop_id bigserial 19
nextval('chado.feature_relationshipprop_feature_relationshipprop_id_seq'::regclass)
feature_relationship_id int8 19
feature_relationship.feature_relationship_id feature_relationshipprop_feature_relationship_id_fkey C
null
type_id int8 19
cvterm.cvterm_id feature_relationshipprop_type_id_fkey C
null

The name of the property/slot is a cvterm. The meaning of the property is defined in that cvterm. Currently there is no standard ontology for feature_relationship property types.

value text 2147483647
null

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 int4 10
0

Property-Value ordering. Any feature_relationship can have multiple values for any particular property type - these are ordered in a list using rank, counting from zero. For properties that are single-valued rather than multi-valued, the default 0 value should be used.

Table contained -1 rows

Indexes

Constraint Name Type Sort Column(s)
feature_relationshipprop_pkey Primary key Asc feature_relationshipprop_id
feature_relationshipprop_c1 Must be unique Asc/Asc/Asc feature_relationship_id + type_id + rank
feature_relationshipprop_idx1 Performance Asc feature_relationship_id
feature_relationshipprop_idx2 Performance Asc type_id

Relationships