| Table p_church | 
| 
Description: Specific information about a church which is a partner  | 
| PRIMARY KEY | ||
| 
p_partner_key_n
 
bigint default: 0 NOT NULL  | This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number. | p_partner | 
| 
p_church_name_c
 
varchar (160)  | ||
| 
p_approximate_size_i
 
integer default: 0  | Number of people in regular attendance. | |
| 
p_denomination_code_c
 
varchar (16) default: 'UNKNOWN'  | p_denomination | |
| 
p_accomodation_l
 
boolean default: '0'  | ||
| 
p_prayer_group_l
 
boolean default: '0'  | ||
| 
p_map_on_file_l
 
boolean default: '0'  | Paper (Digital?) Map of church is on file at Site | |
| 
p_accomodation_type_c
 
varchar (16) default: 'OTHER'  | ||
| 
p_accomodation_size_i
 
integer default: 0  | ||
| 
p_contact_partner_key_n
 
bigint default: 0  | Generally the contact person for the unit who will be addressed in any correspondence | p_partner | 
| 
s_date_created_d
 
date default: CURRENT_DATE  | The date the record was created. | |
| 
s_created_by_c
 
varchar (20)  | User ID of who created this record. | s_user | 
| 
s_date_modified_d
 
date  | The date the record was modified. | |
| 
s_modified_by_c
 
varchar (20)  | User ID of who last modified this record. | s_user | 
| 
s_modification_id_t
 
timestamp default: CURRENT_TIMESTAMP  | This identifies the current version of the record. | |
FOREIGN KEY p_church_fk1: p_partner_key_n => p_partner p_church_fk2: p_denomination_code_c => p_denomination p_church_fk3: p_contact_partner_key_n => p_partner p_church_fkcr: s_created_by_c => s_user p_church_fkmd: s_modified_by_c => s_user  | ||