Schema Version: 1.3

stockprop


Description

A stock 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. There is a unique constraint, stockprop_c1, for the combination of stock_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.

Columns

Column Type Size Foreign Key Nullable Default Comments
stockprop_id bigserial 19
nextval('chado.stockprop_stockprop_id_seq'::regclass)
stock_id int8 19
stock.stock_id stockprop_stock_id_fkey C
null
type_id int8 19
cvterm.cvterm_id stockprop_type_id_fkey C
null
value text 2147483647
null
rank int4 10
0

Table contained -1 rows

Indexes

Constraint Name Type Sort Column(s)
stockprop_pkey Primary key Asc stockprop_id
stockprop_c1 Must be unique Asc/Asc/Asc stock_id + type_id + rank
stockprop_idx1 Performance Asc stock_id
stockprop_idx2 Performance Asc type_id

Relationships