Table openpetra_trunk.public.pm_document_file
Link file with a personal 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_file_info_key_n numeric 10
p_file_info.p_key_n pm_document_file_fk1 R
p_site_key_n numeric 10 0
pm_document.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.pm_document_key_n pm_document_file_fk3 R
Key to identify the document
p_partner_key_n numeric 10
p_partner.p_partner_key_n pm_document_file_fk2 R
Partner key that the file is linked with (needed for performance reasons to find all records linked with a partner)
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c pm_document_file_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c pm_document_file_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_file_info_key_n Primary key Asc pm_document_file_pk
p_site_key_n + pm_document_key_n Performance Asc/Asc inx_pm_document_file_fk3_key1
s_created_by_c Performance Asc inx_pm_document_file_fkcr_key2
s_modified_by_c Performance Asc inx_pm_document_file_fkmd_key3
p_file_info_key_n Must be unique Asc inx_pm_document_file_pk0
p_partner_key_n Performance Asc pm_document_file_k0

Close relationships  within of separation: