Table stoq_schema.public.branch 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()
branch_station
branch_synchronization
employee
fiscal_book_entry
inventory
invoice
loan
payment
payment_renegotiation
product_history
product_stock_item
production_order
purchase_order
quotation
quote_group
receiving_order
returned_sale
sale
stock_decrease
till_entry
transfer_order
transfer_order
user_branch_access
work_order
work_order
work_order
work_order_package
work_order_package
te_id int8 19  √  new_te()
transaction_entry
manager_id uuid 2147483647  √  null
employee
is_active bool 1  √  null
crt int4 10  √  1
acronym text 2147483647  √  null
person_id uuid 2147483647  √  null
person
can_execute_foreign_work_orders bool 1  √  false

Analyzed at Mon Nov 09 14:32 BRST 2015

Indexes:
Column(s) Type Sort Anomalies
id Primary key Asc  
acronym Must be unique Asc This unique column is also nullable
person_id Must be unique Asc This unique column is also nullable
te_id Must be unique Asc This unique column is also nullable

Close relationships  within of separation: