Table stoq_schema.public.fiscal_book_entry 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()
te_id int8 19  √  new_te()
transaction_entry.id fiscal_book_entry_te_id_fkey R
entry_type int4 10  √  null
icms_value numeric 20,2  √  null
iss_value numeric 20,2  √  null
ipi_value numeric 20,2  √  null
date timestamp 29,6  √  null
is_reversal bool 1  √  null
invoice_number int4 10  √  null
cfop_id uuid 2147483647  √  null
cfop_data.id fiscal_book_entry_cfop_id_fkey R
branch_id uuid 2147483647
branch.id fiscal_book_entry_branch_id_fkey R
drawee_id uuid 2147483647  √  null
person.id fiscal_book_entry_drawee_id_fkey R
payment_group_id uuid 2147483647  √  null
payment_group.id fiscal_book_entry_payment_group_id_fkey R

Analyzed at Fri Jun 10 16:06 BRT 2016

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

Close relationships  within of separation: