Table openpetra_trunk.public.p_church
Specific information about a church which is a partner

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_partner.p_partner_key_n p_church_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.
p_church_name_c varchar 160  √  null
p_approximate_size_i int4 10  √  0 Number of people in regular attendance.
p_denomination_code_c varchar 16  √  'UNKNOWN'::character varying
p_denomination.p_denomination_code_c p_church_fk2 R
p_accomodation_l bool 1  √  false
p_prayer_group_l bool 1  √  false
p_map_on_file_l bool 1  √  false Paper (Digital?) Map of church is on file at Site
p_accomodation_type_c varchar 16  √  'OTHER'::character varying
p_accomodation_size_i int4 10  √  0
p_contact_partner_key_n numeric 10  √  0
p_partner.p_partner_key_n p_church_fk3 R
Generally the contact person for the unit who will be addressed in any correspondence
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c p_church_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c p_church_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_partner_key_n Primary key Asc p_church_pk
p_denomination_code_c Performance Asc inx_p_church_fk2_key1
p_contact_partner_key_n Performance Asc inx_p_church_fk3_key2
s_created_by_c Performance Asc inx_p_church_fkcr_key3
s_modified_by_c Performance Asc inx_p_church_fkmd_key4
p_partner_key_n Must be unique Asc inx_p_church_pk0

Close relationships  within of separation: