Add & Display Flights
This commit is contained in:
15
db/migrate/20220114003540_create_aircrafts.rb
Normal file
15
db/migrate/20220114003540_create_aircrafts.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class CreateAircrafts < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :aircrafts do |t|
|
||||
t.string :reg
|
||||
t.string :serial
|
||||
t.float :tach
|
||||
t.float :hobbs
|
||||
t.date :purchase_date
|
||||
t.float :purchase_tach
|
||||
t.float :purchase_hobbs
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user