Add & Display Flights
This commit is contained in:
15
db/migrate/20220114003618_create_inspections.rb
Normal file
15
db/migrate/20220114003618_create_inspections.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user