Table stoq_schema.public.product_supplier_info Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents
id uuid 2147483647 uuid_generate_v1()
te_id int8 19  √  new_te()
transaction_entry
supplier_code text 2147483647  √  null
base_cost numeric 20,8  √  null
notes text 2147483647  √  null
is_main_supplier bool 1  √  null
icms numeric 10,2  √  null
lead_time int4 10  √  1
minimum_purchase numeric 20,3  √  1
supplier_id uuid 2147483647
supplier
product_id uuid 2147483647
product

Analyzed at Mon Nov 09 14:32 BRST 2015

Indexes:
Column(s) Type Sort Anomalies
id Primary key Asc  
te_id Must be unique Asc This unique column is also nullable
supplier_id + product_id + supplier_code Must be unique Asc/Asc/Asc  

Close relationships  within of separation: