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

16 lines
310 B
Ruby

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