| Table p_family | 
| 
Description: Contains details about a family in Partnership with us. May have P_Person records linked to it.  | 
| 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_family_members_l
 
boolean default: '0'  | Flag is set if there are family members with their own records in the p_person table. IMPORTANT: Don't rely on this flag anymore but determine this state on-the-fly! Reason: The value of this field isn't maintained reliably any more and the field will be removed in a future version of the DB! | |
| 
p_title_c
 
varchar (64)  | How the family is to be addressed | |
| 
p_first_name_c
 
varchar (96)  | ||
| 
p_family_name_c
 
varchar (120)  | ||
| 
p_different_surnames_l
 
boolean default: '0'  | Flag is set if there are different surnames entered for husband and wife | |
| 
p_marital_status_c
 
varchar (4) default: 'U'  | pt_marital_status | |
| 
p_marital_status_since_d
 
date  | ||
| 
p_marital_status_comment_c
 
varchar (512)  | ||
| 
p_date_of_birth_d
 
date default: NULL  | This is the date the person was born | |
| 
p_gender_c
 
varchar (16) default: 'Unknown'  | ||
| 
p_photo_b
 
text default: NULL  | A photo of the person, encoded with Base64, and prefixed with the file type | |
| 
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_family_fk1: p_partner_key_n => p_partner p_family_fk2: p_marital_status_c => pt_marital_status p_family_fkcr: s_created_by_c => s_user p_family_fkmd: s_modified_by_c => s_user  | ||
REFERENCED BY p_person  | ||