Add & Display Flights

This commit is contained in:
2022-01-15 16:05:31 -05:00
parent 796a070af4
commit 022b63fc1a
26 changed files with 395 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class CreateFlights < ActiveRecord::Migration[5.2]
def change
create_table :flights do |t|
t.references :aircraft, foreign_key: true
t.date :date
t.string :from
t.string :to
t.float :tach
t.float :hobbs
t.boolean :oil
t.boolean :fuel
t.float :time
t.timestamps
end
end
end