booking_guests table
The booking_guests table in the Hotel Booking Database Schema schema has 3 columns, with 2 foreign keys to booking_rooms and guests.
Who actually occupies the room, which many jurisdictions require a hotel to record.
Columns (3)
| Column | Type | Constraints | Description |
|---|---|---|---|
| booking_room_id | uuid | not null, references booking_rooms.id | |
| guest_id | uuid | not null, references guests.id | |
| is_primary | boolean | not null |
Relationships
booking_guests.booking_room_idreferencesbooking_rooms.idbooking_guests.guest_idreferencesguests.id