Table george.public.product_retention_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_retention_history_id_seq'::regclass)
te_created_id int8 19  √  null
transaction_entry.id product_retention_history_te_created_id_fkey
te_modified_id int8 19  √  null
transaction_entry.id product_retention_history_te_modified_id_fkey
quantity numeric 10,2  √  null
reason text 2147483647  √  null
retention_date timestamp 29,6  √  null
product_id int8 19  √  null
product.id product_retention_history_product_id_fkey
cfop_id int8 19  √  null
cfop_data.id product_retention_history_cfop_id_fkey

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

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

Close relationships  within one two degrees of separation :