Table openpetra_trunk.public.p_partner_location
Links partners with locations (addresses) and has specific info about the link (e.g. phone number)

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
s_group_partner_location.p_partner_key_n s_group_partner_location_fk2 R
p_partner.p_partner_key_n p_partner_location_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_site_key_n numeric 10 0
s_group_partner_location.p_site_key_n s_group_partner_location_fk2 R
This is the key that tell what site created the linked location
p_location_key_i int4 10 0
s_group_partner_location.p_location_key_i s_group_partner_location_fk2 R
p_date_effective_d date 13  √  null
p_date_good_until_d date 13  √  null
p_location_type_c varchar 24  √  null
p_location_type.p_code_c p_partner_location_fk3 R
p_send_mail_l bool 1  √  false
p_fax_number_c varchar 50  √  null
p_telex_i int4 10  √  0
p_telephone_number_c varchar 50  √  null
p_extension_i int4 10  √  0
p_email_address_c varchar 120  √  null
p_location_detail_comment_c varchar 512  √  null
p_fax_extension_i int4 10  √  0
p_mobile_number_c varchar 50  √  null
p_alternate_telephone_c varchar 50  √  null
p_url_c varchar 128  √  null
p_restricted_l bool 1  √  false Indicates whether or not the partner location has restricted access. If it does then the access will be controlled by s_group_partner_location.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c p_partner_location_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c p_partner_location_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_partner_key_n + p_site_key_n + p_location_key_i Primary key Asc/Asc/Asc p_partner_location_pk
p_partner_key_n Performance Asc inx_p_partner_location_fk1_key1
p_site_key_n + p_location_key_i Performance Asc/Asc inx_p_partner_location_fk2_key2
p_location_type_c Performance Asc inx_p_partner_location_fk3_key3
s_created_by_c Performance Asc inx_p_partner_location_fkcr_key4
s_modified_by_c Performance Asc inx_p_partner_location_fkmd_key5
p_partner_key_n + p_site_key_n + p_location_key_i Must be unique Asc/Asc/Asc inx_p_partner_location_pk0
p_email_address_c Performance Asc p_email_address_k0

Close relationships  within of separation: