Table stoq_schema.public.fiscal_sale_history 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()
te_id int8 19  √  new_te() fiscal_sale_history_te_id_fkey R
sale_id uuid 2147483647  √  null fiscal_sale_history_sale_id_fkey R
document_type int4 10  √  null
document text 2147483647  √  null
coo int4 10  √  null
document_counter int4 10  √  null

Analyzed at Mon Nov 09 14:32 BRST 2015

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

Close relationships  within of separation: