Schema Version: 1.3

stock_dbxrefprop


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 Foreign Key Nullable Default Comments
stock_dbxrefprop_id bigserial 19
nextval('chado.stock_dbxrefprop_stock_dbxrefprop_id_seq'::regclass)
stock_dbxref_id int8 19
stock_dbxref.stock_dbxref_id stock_dbxrefprop_stock_dbxref_id_fkey C
null
type_id int8 19
cvterm.cvterm_id stock_dbxrefprop_type_id_fkey C
null
value text 2147483647
null
rank int4 10
0

Table contained -1 rows

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