Table stoq_schema.public.address 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()
delivery.address_id delivery_address_id_fkey R
te_id int8 19  √  new_te()
transaction_entry.id address_te_id_fkey R
street text 2147483647  √  null
streetnumber int4 10  √  null
district text 2147483647  √  null
postal_code text 2147483647  √  null
complement text 2147483647  √  null
is_main_address bool 1  √  null
person_id uuid 2147483647  √  null
person.id address_person_id_fkey R
city_location_id int8 19  √  null
city_location.id address_city_location_id_fkey R

Analyzed at Fri Jun 10 16:06 BRT 2016

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

Close relationships  within of separation: