Table openpetra_trunk.public.pm_document
Document

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_site_key_n numeric 10 0
pm_document_file.p_site_key_n pm_document_file_fk3 R
This is the key that tell what site created this document
pm_document_key_n numeric 10 0
pm_document_file.pm_document_key_n pm_document_file_fk3 R
Key to identify the document
p_partner_key_n numeric 10 0
p_person.p_partner_key_n pm_document_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.
pm_doc_code_c varchar 40
pm_document_type.pm_doc_code_c pm_document_fk2 R
This code indicates the type of document for a person.
pm_document_id_c varchar 60  √  null Document ID
pm_place_of_issue_c varchar 80  √  null Place the document was issued.
pm_date_of_issue_d date 13  √  null The date the document was issued.
pm_date_of_start_d date 13  √  null Date the document takes effect.
pm_date_of_expiration_d date 13  √  null Date the document expires
pm_doc_comment_c varchar 1000  √  null Comments and details
pm_assoc_doc_id_c varchar 40  √  null ID of associated document
pm_contact_partner_key_n numeric 10  √  0
p_partner.p_partner_key_n pm_document_fk3 R
This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c pm_document_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c pm_document_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_site_key_n + pm_document_key_n Primary key Asc/Asc pm_document_pk
p_partner_key_n Performance Asc inx_pm_document_fk1_key1
pm_doc_code_c Performance Asc inx_pm_document_fk2_key2
pm_contact_partner_key_n Performance Asc inx_pm_document_fk3_key3
s_created_by_c Performance Asc inx_pm_document_fkcr_key4
s_modified_by_c Performance Asc inx_pm_document_fkmd_key5
p_site_key_n + pm_document_key_n Must be unique Asc/Asc inx_pm_document_pk0
p_partner_key_n + pm_doc_code_c Performance Asc/Asc pm_document_k0

Close relationships  within of separation: