Table openpetra_trunk.public.pm_passport_details
Passport Details

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
p_partner_key_n numeric 10 0
p_person.p_partner_key_n pm_passport_details_fk1 R
This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number.
pm_passport_number_c varchar 40 Passport Number
pm_main_passport_l bool 1  √  false Is this the main passport?
pm_active_flag_c varchar 6  √  null Indicates whether the passport is active or not.
pm_full_passport_name_c varchar 80  √  null Full passport name.
pm_passport_dob_d date 13  √  null Date of Birth
pm_place_of_birth_c varchar 60  √  null Location of birth, eg. Cleveland, Ohio, USA, or Oswestry,Shropshire, England.
p_passport_nationality_code_c varchar 8  √  null
p_country.p_country_code_c pm_passport_details_fk3 R
Nationality of the passport holder.
pm_date_of_expiration_d date 13  √  null Date the passport expires
pm_place_of_issue_c varchar 40  √  null Place the passport was issued.
p_country_of_issue_c varchar 8  √  null Country the passport was issued.
pm_date_of_issue_d date 13  √  null The date the passport was issued.
pm_passport_details_type_c varchar 32  √  null Details the type of passport, e.g. Residence, Diplomatic, etc.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c pm_passport_details_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c pm_passport_details_fkmd R
s_modification_id_c varchar 150  √  null

Table contained 17.264 rows at Do Nov 10 18:00 MEZ 2011

Indexes:
Column(s) Type Sort Constraint Name
p_partner_key_n + pm_passport_number_c Primary key Asc/Asc pm_passport_details_pk
p_partner_key_n Performance Asc inx_pm_passport_details_fk1_key1
pm_passport_details_type_c Performance Asc inx_pm_passport_details_fk2_key2
p_passport_nationality_code_c Performance Asc inx_pm_passport_details_fk3_key3
p_country_of_issue_c Performance Asc inx_pm_passport_details_fk4_key4
s_created_by_c Performance Asc inx_pm_passport_details_fkcr_key5
s_modified_by_c Performance Asc inx_pm_passport_details_fkmd_key6
p_partner_key_n + pm_passport_number_c Must be unique Asc/Asc inx_pm_passport_details_pk0
p_partner_key_n + pm_full_passport_name_c + pm_passport_number_c + p_passport_nationality_code_c Must be unique Asc/Asc/Asc/Asc pm_passport_k0

Close relationships  within of separation: