mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Flights tab: - Summary cards for the past 30 days, this year, past 12 months and since the first flight (flight hours, flights, tach, fuel). - Flight hours by month (last 24 months) with the past-year monthly average, totals (flights, flight/tach time, average and longest flight, fuel, gal/hr, airports visited, most visited) and a by-year table. - Flight time is Hobbs time where recorded, otherwise tach time. Removed the per-aircraft DRS search link and its "Open in DRS" button: each AD's DRS link already comes from the Excel import. A guarded migration drops the column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
306 B
Ruby
8 lines
306 B
Ruby
# The per-aircraft DRS search link turned out to be unnecessary: each AD's
|
|
# DRS link comes from the Excel import.
|
|
class RemoveDrsSearchUrlFromAircraft < ActiveRecord::Migration[8.1]
|
|
def change
|
|
remove_column :aircraft, :drs_search_url, :string if column_exists?(:aircraft, :drs_search_url)
|
|
end
|
|
end
|