Table stoq_schema.public.transporter 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()
delivery.transporter_id delivery_transporter_id_fkey R
purchase_order.transporter_id purchase_order_transporter_id_fkey R
receiving_order.transporter_id receiving_order_transporter_id_fkey R
sale.transporter_id sale_transporter_id_fkey R
te_id int8 19  √  new_te() transporter_te_id_fkey R
is_active bool 1  √  null
open_contract_date timestamp 29,6  √  null
freight_percentage numeric 10,2
person_id uuid 2147483647  √  null transporter_person_id_fkey R

Analyzed at Mon Nov 09 14:32 BRST 2015

Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc transporter_pkey  
person_id Must be unique Asc transporter_person_id_key This unique column is also nullable
te_id Must be unique Asc transporter_te_id_key This unique column is also nullable

Close relationships  within of separation: