Files
flights/db/migrate/20220114003618_create_inspections.rb
2022-01-15 16:05:31 -05:00

16 lines
335 B
Ruby

class CreateInspections < ActiveRecord::Migration[5.2]
def change
create_table :inspections do |t|
t.references :aircraft, foreign_key: true
t.date :annual_date
t.float :annual_tach
t.float :annual_hobbs
t.date :pitot_static
t.date :vor
t.date :elt
t.timestamps
end
end
end