chuckya/db/migrate/20170205175257_remove_devices.rb

7 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