aircraft table
The aircraft table in the Airline Reservation Database Schema schema has 6 columns, keyed by id, with 2 foreign keys to aircraft_types and seat_maps. 1 column in flights references it.
A physical tail number. registration is what maintenance and ops actually track.
Columns (6)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| type_id | uuid | not null, references aircraft_types.id | |
| seat_map_id | uuid | references seat_maps.id | |
| registration | varchar(10) | unique, not null | |
| delivered_on | date | ||
| status | aircraft_status | not null |
Indexes (1)
(type_id, status)
Relationships
aircraft.type_idreferencesaircraft_types.idaircraft.seat_map_idreferencesseat_maps.idflights.aircraft_idreferencesaircraft