Glitch-Shrike/db/migrate/20170205175257_remove_devic...

8 lines
156 B
Ruby

# frozen_string_literal: true
class RemoveDevices < ActiveRecord::Migration[5.0]
def change
drop_table :devices if table_exists?(:devices)
end
end