stock_dbxrefprop

0 rows


Description

A stock_dbxref can have any number of slot-value property tags attached to it. This is useful for storing properties related to dbxref annotations of stocks, such as evidence codes, and references, and metadata, such as create/modify dates. This is an alternative to hardcoding a list of columns in the relational schema, and is completely extensible. There is a unique constraint, stock_dbxrefprop_c1, for the combination of stock_dbxref_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
stock_dbxrefprop_id serial 10 nextval('stock_dbxrefprop_stock_dbxrefprop_id_seq'::regclass)
stock_dbxref_id int4 10 null
stock_dbxref.stock_dbxref_id stock_dbxrefprop_stock_dbxref_id_fkey C
type_id int4 10 null
cvterm.cvterm_id stock_dbxrefprop_type_id_fkey C
value text 2147483647 null
rank int4 10 0

Indexes

Constraint Name Type Sort Column(s)
stock_dbxrefprop_pkey Primary key Asc stock_dbxrefprop_id
stock_dbxrefprop_c1 Must be unique Asc/Asc/Asc stock_dbxref_id + type_id + rank
stock_dbxrefprop_idx1 Performance Asc stock_dbxref_id
stock_dbxrefprop_idx2 Performance Asc type_id

Relationships