Table stoq_schema.public.work_order_package 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()
work_order_package_item.package_id work_order_package_item_package_id_fkey R
te_id int8 19  √  new_te() work_order_package_te_id_fkey R
identifier text 2147483647
status work_order_package_status 2147483647
send_date timestamp 29,6  √  null
receive_date timestamp 29,6  √  null
send_responsible_id uuid 2147483647  √  null work_order_package_send_responsible_id_fkey R
receive_responsible_id uuid 2147483647  √  null work_order_package_receive_responsible_id_fkey R
destination_branch_id uuid 2147483647  √  null work_order_package_destination_branch_id_fkey R
source_branch_id uuid 2147483647 work_order_package_source_branch_id_fkey R

Analyzed at Fri Jun 10 16:06 BRT 2016

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

Close relationships  within of separation: