Table stoq_schema.public.cost_center Generated by
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 uuid_generate_v1()
cost_center_entry.cost_center_id cost_center_entry_cost_center_id_fkey R
sale.cost_center_id sale_cost_center_id_fkey R
stock_decrease.cost_center_id stock_decrease_cost_center_id_fkey R
te_id int8 19  √  new_te() cost_center_te_id_fkey R
name text 2147483647
description text 2147483647  √  null
budget numeric 20,2  √  null
is_active bool 1 true

Analyzed at Mon Nov 09 14:32 BRST 2015

Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc cost_center_pkey  
te_id Must be unique Asc cost_center_te_id_key This unique column is also nullable

Close relationships  within of separation: