special_service_requests table
The special_service_requests table in the Airline Reservation Database Schema schema has 7 columns, keyed by id, with 2 foreign keys to booking_passengers and booking_segments.
Wheelchair, special meal, unaccompanied minor. The four-letter SSR codes are an industry standard, which is why this is a code column rather than an enum.
Columns (7)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| booking_passenger_id | uuid | not null, references booking_passengers.id | |
| booking_segment_id | uuid | references booking_segments.id | |
| code | varchar(4) | not null | |
| status | ssr_status | not null | |
| details | varchar(500) | ||
| requested_at | timestamptz | not null |
Indexes (2)
(booking_passenger_id)(status)
Relationships
special_service_requests.booking_passenger_idreferencesbooking_passengers.idspecial_service_requests.booking_segment_idreferencesbooking_segments.id