booking_passengers table

The booking_passengers table in the Airline Reservation Database Schema schema has 5 columns, keyed by id, with 2 foreign keys to bookings and passengers. 6 columns in tickets, seat_assignments, special_service_requests, ancillary_purchases and 2 more reference it.

passenger_type drives fare and baggage entitlement. An infant on lap has no seat but still needs a row here.

Columns (5)

Columns of the booking_passengers table
ColumnTypeConstraintsDescription
iduuidprimary key
booking_iduuidnot null, references bookings.id
passenger_iduuidnot null, references passengers.id
passenger_typepassenger_typenot null
is_leadbooleannot null

Indexes (1)

  • (booking_id, passenger_id) unique

Relationships