Table stoq_schema.public.client Generated by
SchemaSpy
Legend: SourceForge.net
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()
client_salary_history.client_id client_salary_history_client_id_fkey R
credit_check_history.client_id credit_check_history_client_id_fkey R
loan.client_id loan_client_id_fkey R
payment_renegotiation.client_id payment_renegotiation_client_id_fkey R
sale.client_id sale_client_id_fkey R
work_order.client_id work_order_client_id_fkey R
te_id int8 19  √  new_te()
transaction_entry.id client_te_id_fkey R
status client_status 2147483647
days_late int4 10  √  null
credit_limit numeric 20,2  √  0
salary numeric 20,2  √  0
person_id uuid 2147483647  √  null
person.id client_person_id_fkey R
category_id uuid 2147483647  √  null
client_category.id client_category_id_fkey R

Analyzed at Fri Jun 10 16:06 BRT 2016

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc client_pkey  
person_id Must be unique Asc client_person_id_key This unique column is also nullable
te_id Must be unique Asc client_te_id_key This unique column is also nullable

Close relationships  within of separation: