Table george.public.product_history 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_history_id_seq'::regclass)
te_created_id int8 19  √  null
transaction_entry.id product_history_te_created_id_fkey
te_modified_id int8 19  √  null
transaction_entry.id product_history_te_modified_id_fkey
quantity_sold numeric 10,2  √  null
quantity_received numeric 10,2  √  null
quantity_transfered numeric 10,2  √  null
quantity_retained numeric 10,2  √  null
sold_date timestamp 29,6  √  null
received_date timestamp 29,6  √  null
branch_id int8 19  √  null
person_adapt_to_branch.id product_history_branch_id_fkey
sellable_id int8 19  √  null
sellable.id product_history_sellable_id_fkey

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

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

Close relationships  within one two degrees of separation :