Table openpetra_trunk.public.p_partner_attribute
Mainly introduced for contact details like email addresses and mobile phone numbers, but can be used for any attribute you might want to save for 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_partner_attribute_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_code_c varchar 24
p_partner_attribute_type.p_code_c p_partner_attribute_fk2 R
The attribute type that is assigned here.
p_sequence_i int4 10 0 A normal sequence so that each partner can have more than one value for any particular attribute type.
p_value_c varchar 400 The value of the attribute.
p_comment_c varchar 400  √  null Any comment to explain this attribute value, or some additional info that may be required.
p_valid_from_d date 13  √  null A date when this attribute is valid from.
p_valid_to_d date 13  √  null When this attribute value is valid until.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c p_partner_attribute_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c p_partner_attribute_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_partner_key_n + p_code_c + p_sequence_i Primary key Asc/Asc/Asc p_partner_attribute_pk
p_partner_key_n Performance Asc inx_p_partner_attribute_fk1_key1
p_code_c Performance Asc inx_p_partner_attribute_fk2_key2
s_created_by_c Performance Asc inx_p_partner_attribute_fkcr_key3
s_modified_by_c Performance Asc inx_p_partner_attribute_fkmd_key4
p_partner_key_n + p_code_c + p_sequence_i Must be unique Asc/Asc/Asc inx_p_partner_attribute_pk0

Close relationships  within of separation: