stockprop

6345 rows


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 Nulls Auto Default Children Parents Comments
stockprop_id serial 10 nextval('stockprop_stockprop_id_seq'::regclass)
stockprop_pub.stockprop_id stockprop_pub_stockprop_id_fkey C
stock_id int4 10 null
stock.stock_id stockprop_stock_id_fkey C
type_id int4 10 null
cvterm.cvterm_id stockprop_type_id_fkey C
value text 2147483647 null
rank int4 10 0

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
stockprop_sgn_allele_id Performance

Relationships