Schema Version: 1.3

phylotreeprop


Description

A phylotree can have any number of slot-value property tags attached to it. This is an alternative to hardcoding a list of columns in the relational schema, and is completely extensible.

Columns

Column Type Size Foreign Key Nullable Default Comments
phylotreeprop_id bigserial 19
nextval('chado.phylotreeprop_phylotreeprop_id_seq'::regclass)
phylotree_id int8 19
phylotree.phylotree_id phylotreeprop_phylotree_id_fkey C
null
type_id int8 19
cvterm.cvterm_id phylotreeprop_type_id_fkey C
null

The name of the property/slot is a cvterm. The meaning of the property is defined in that cvterm.

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 phylotree 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)
phylotreeprop_pkey Primary key Asc phylotreeprop_id
phylotreeprop_c1 Must be unique Asc/Asc/Asc phylotree_id + type_id + rank
phylotreeprop_idx1 Performance Asc phylotree_id
phylotreeprop_idx2 Performance Asc type_id

Relationships