Schema Version: 1.3

stock_dbxref


Description

stock_dbxref links a stock to dbxrefs. This is for secondary identifiers; primary identifiers should use stock.dbxref_id.

Columns

Column Type Size Foreign Key Nullable Default Comments
stock_dbxref_id bigserial 19
nextval('chado.stock_dbxref_stock_dbxref_id_seq'::regclass)
stock_id int8 19
stock.stock_id stock_dbxref_stock_id_fkey C
null
dbxref_id int8 19
dbxref.dbxref_id stock_dbxref_dbxref_id_fkey C
null
is_current bool 1
true

The is_current boolean indicates whether the linked dbxref is the current -official- dbxref for the linked stock.

Table contained -1 rows

Indexes

Constraint Name Type Sort Column(s)
stock_dbxref_pkey Primary key Asc stock_dbxref_id
stock_dbxref_c1 Must be unique Asc/Asc stock_id + dbxref_id
stock_dbxref_idx1 Performance Asc stock_id
stock_dbxref_idx2 Performance Asc dbxref_id

Relationships