stockcollection_stock

0 rows


Description

stockcollection_stock links a stock collection to the stocks which are contained in the collection.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
stockcollection_stock_id serial 10 nextval('stockcollection_stock_stockcollection_stock_id_seq'::regclass)
stockcollection_id int4 10 null
stockcollection.stockcollection_id stockcollection_stock_stockcollection_id_fkey C
stock_id int4 10 null
stock.stock_id stockcollection_stock_stock_id_fkey C

Indexes

Constraint Name Type Sort Column(s)
stockcollection_stock_pkey Primary key Asc stockcollection_stock_id
stockcollection_stock_c1 Must be unique Asc/Asc stockcollection_id + stock_id
stockcollection_stock_idx1 Performance Asc stockcollection_id
stockcollection_stock_idx2 Performance Asc stock_id

Relationships