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)

Columns of the booking_guests table
ColumnTypeConstraintsDescription
booking_room_iduuidnot null, references booking_rooms.id
guest_iduuidnot null, references guests.id
is_primarybooleannot null

Relationships