Table stoq_schema.public.individual 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 individual_te_id_fkey R
is_active bool 1  √  null
cpf text 2147483647  √  null
rg_number text 2147483647  √  null
birth_date timestamp 29,6  √  null
occupation text 2147483647  √  null
marital_status marital_status 2147483647
father_name text 2147483647  √  null
mother_name text 2147483647  √  null
rg_expedition_date timestamp 29,6  √  null
rg_expedition_local text 2147483647  √  null
gender individual_gender 2147483647
spouse_name text 2147483647  √  null
birth_location_id int8 19  √  null
city_location.id individual_birth_location_id_fkey R
person_id uuid 2147483647  √  null
person.id individual_person_id_fkey R

Analyzed at Mon Nov 09 14:32 BRST 2015

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

Close relationships  within of separation: