Table stoq_schema.public.account 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()
account.parent_id account_parent_id_fkey R
account_transaction.account_id account_transaction_account_id_fkey R
account_transaction.source_account_id account_transaction_source_account_id_fkey R
bank_account.account_id bank_account_account_id_fkey R
payment_method.destination_account_id payment_method_destination_account_id_fkey R
te_id int8 19  √  new_te()
transaction_entry.id account_te_id_fkey R
account_type account_type 2147483647
description text 2147483647
code text 2147483647  √  null
parent_id uuid 2147483647  √  null
account.id account_parent_id_fkey R
station_id uuid 2147483647  √  null
branch_station.id account_station_id_fkey R

Analyzed at Fri Jun 10 16:06 BRT 2016

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

Close relationships  within of separation: