crew_members table
The crew_members table in the Airline Reservation Database Schema schema has 7 columns, keyed by id, with 1 foreign key to airports. 1 column in crew_assignments references it.
Columns (7)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| employee_number | varchar(32) | unique, not null | |
| full_name | varchar(120) | not null | |
| role | crew_role | not null | |
| base_airport | char(3) | references airports.iata_code | |
| licence_expires_on | date | ||
| is_active | boolean | not null |
Indexes (1)
(role, base_airport)
Relationships
crew_members.base_airportreferencesairports.iata_codecrew_assignments.crew_member_idreferencescrew_members