about summary refs log tree commit diff
path: root/db/migrate/20170205175257_remove_devices.rb
blob: 9ef5c440ef8f1c4bf67e2553de6f5d8658a36831 (plain) (blame)
1
2
3
4
5
class RemoveDevices < ActiveRecord::Migration[5.0]
  def change
    drop_table :devices if table_exists?(:devices)
  end
end