Table openpetra_trunk.public.pc_room
Details of rooms used for accommodation at a conference

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_venue_key_n numeric 10
pc_room_alloc.p_venue_key_n pc_room_alloc_fk2 R
pc_room_attribute.p_venue_key_n pc_room_attribute_fk1 R
pc_building.p_venue_key_n pc_room_fk1 R
pc_building_code_c varchar 16
pc_room_alloc.pc_building_code_c pc_room_alloc_fk2 R
pc_room_attribute.pc_building_code_c pc_room_attribute_fk1 R
pc_building.pc_building_code_c pc_room_fk1 R
pc_room_number_c varchar 16
pc_room_alloc.pc_room_number_c pc_room_alloc_fk2 R
pc_room_attribute.pc_room_number_c pc_room_attribute_fk1 R
pc_room_name_c varchar 100  √  null
pc_beds_i int4 10  √  0
pc_max_occupancy_i int4 10  √  0
pc_bed_charge_n numeric 24,10  √  0
pc_bed_cost_n numeric 24,10  √  0
pc_usage_c varchar 32  √  null
pc_gender_preference_c varchar 6  √  null Gender that is preferred to use that room
pc_layout_xpos_i int4 10  √  null X Position for the room layout designer in pixels
pc_layout_ypos_i int4 10  √  null Y Position for the room layout designer in pixels
pc_layout_width_i int4 10  √  null Width for the room layout designer in pixels
pc_layout_height_i int4 10  √  null Height for the room layout designer in pixels
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c pc_room_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c pc_room_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_venue_key_n + pc_building_code_c + pc_room_number_c Primary key Asc/Asc/Asc pc_room_pk
p_venue_key_n + pc_building_code_c Performance Asc/Asc inx_pc_room_fk1_key1
s_created_by_c Performance Asc inx_pc_room_fkcr_key2
s_modified_by_c Performance Asc inx_pc_room_fkmd_key3
p_venue_key_n + pc_building_code_c + pc_room_number_c Must be unique Asc/Asc/Asc inx_pc_room_pk0

Close relationships  within of separation: