Table openpetra_trunk.public.p_file_info
Store information about the physical location of a file linked into Petra

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_key_n numeric 10
p_partner_contact_file.p_file_info_key_n p_partner_contact_file_fk2 R
p_partner_file.p_file_info_key_n p_partner_file_fk2 R
p_partner_graphic.p_file_info_key_n p_partner_graphic_fk2 R
pm_application_file.p_file_info_key_n pm_application_file_fk1 R
pm_application_forms_file.p_file_info_key_n pm_application_forms_file_fk1 R
pm_document_file.p_file_info_key_n pm_document_file_fk1 R
pm_person_file.p_file_info_key_n pm_person_file_fk2 R
s_group_file_info.p_file_info_key_n s_group_file_info_fk2 R
p_partner_key_n numeric 10
p_partner.p_partner_key_n p_file_info_fk1 R
Partner key that the file is linked with (needed for performance reasons)
s_volume_name_c varchar 160  √  null
s_volume.s_name_c p_file_info_fk2 R
Volume this file can be found in (use either volume or path)
p_path_c varchar 4096  √  null Path this file can be found in (use either volume or path)
p_file_name_c varchar 1024  √  null File name this file can be found under in given volume or path
p_name_c varchar 160  √  null Internal name of the file, different from actual file name
p_file_type_c varchar 100  √  null Information about the file type
p_comment_c varchar 1000  √  null Comment for the user
p_restricted_l bool 1  √  false Indicates whether or not the file info has restricted access. If it does then the access will be controlled by s_group_file_info.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c p_file_info_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c p_file_info_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_key_n Primary key Asc p_file_info_pk
s_volume_name_c Performance Asc inx_p_file_info_fk2_key2
s_created_by_c Performance Asc inx_p_file_info_fkcr_key3
s_modified_by_c Performance Asc inx_p_file_info_fkmd_key4
p_key_n Must be unique Asc inx_p_file_info_pk1
p_key_n Performance Asc inx_p_partner_graphic_fk2_ref0
p_partner_key_n Performance Asc p_file_info_k0
s_volume_name_c + p_file_name_c Performance Asc/Asc p_file_info_k21
p_path_c + p_file_name_c Performance Asc/Asc p_file_info_k32

Close relationships  within of separation: