Table george.public.product_stock_item Generated by
SchemaSpy
Related columns Constraint names Comments Legend
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
Dashed lines show
implied relationships
< n > number of related tables
Please support this project 
Column Type Size Nulls Auto Default Children Parents Comments
id bigserial 19  √  nextval('product_stock_item_id_seq'::regclass)
te_created_id int8 19  √  null
transaction_entry.id product_stock_item_te_created_id_fkey
te_modified_id int8 19  √  null
transaction_entry.id product_stock_item_te_modified_id_fkey
stock_cost numeric 10,2  √  null
quantity numeric 10,2  √  null
logic_quantity numeric 10,2  √  null
storable_id int8 19  √  null
product_adapt_to_storable.id product_stock_item_storable_id_fkey
branch_id int8 19  √  null
person_adapt_to_branch.id product_stock_item_branch_id_fkey

Table contained 10 rows at Tue Jul 14 15:21 GMT-03:00 2009

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc product_stock_item_pkey  
te_created_id Must be unique Asc product_stock_item_te_created_id_key This unique column is also nullable
te_modified_id Must be unique Asc product_stock_item_te_modified_id_key This unique column is also nullable

Close relationships  within one two degrees of separation :