fare_rules table

The fare_rules table in the Airline Reservation Database Schema schema has 10 columns, keyed by id, with 1 foreign key to fares.

The conditions attached to a fare. This is what a passenger is really buying when a cheaper ticket is non-refundable.

Columns (10)

Columns of the fare_rules table
ColumnTypeConstraintsDescription
iduuidprimary key
fare_iduuidnot null, references fares.id
is_refundablebooleannot null
is_changeablebooleannot null
change_fee_minorbigint
cancellation_fee_minorbigint
min_stay_nightssmallint
max_stay_dayssmallint
advance_purchase_dayssmallint
checked_bags_includedsmallintnot null

Relationships