Table george.public.inventory_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('inventory_item_id_seq'::regclass)
te_created_id int8 19  √  null
transaction_entry.id inventory_item_te_created_id_fkey
te_modified_id int8 19  √  null
transaction_entry.id inventory_item_te_modified_id_fkey
product_id int8 19
product.id inventory_item_product_id_fkey
recorded_quantity numeric 10,2  √  null
actual_quantity numeric 10,2  √  null
inventory_id int8 19
inventory.id inventory_item_inventory_id_fkey
reason text 2147483647  √  null
cfop_data_id int8 19  √  null
cfop_data.id inventory_item_cfop_data_id_fkey
product_cost numeric 10,4  √  null

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 inventory_item_pkey  
te_created_id Must be unique Asc inventory_item_te_created_id_key This unique column is also nullable
te_modified_id Must be unique Asc inventory_item_te_modified_id_key This unique column is also nullable

Close relationships  within one two degrees of separation :