| Table ph_room_booking | 
| 
Description: Links room allocations and a booking  | 
| PRIMARY KEY | ||
| 
ph_booking_key_i
 
integer NOT NULL  | details of the booking | ph_booking | 
| 
ph_room_alloc_key_i
 
integer NOT NULL  | which room/beds are booked | pc_room_alloc | 
| 
s_date_created_d
 
date default: CURRENT_DATE  | The date the record was created. | |
| 
s_created_by_c
 
varchar (20)  | User ID of who created this record. | s_user | 
| 
s_date_modified_d
 
date  | The date the record was modified. | |
| 
s_modified_by_c
 
varchar (20)  | User ID of who last modified this record. | s_user | 
| 
s_modification_id_t
 
timestamp default: CURRENT_TIMESTAMP  | This identifies the current version of the record. | |
FOREIGN KEY ph_room_booking_fk1: ph_booking_key_i => ph_booking ph_room_booking_fk2: ph_room_alloc_key_i => pc_room_alloc ph_room_booking_fkcr: s_created_by_c => s_user ph_room_booking_fkmd: s_modified_by_c => s_user  | ||