catstodon/db/migrate/20170205175257_remove_devices.rb
2020-06-02 19:24:53 +02:00

5 lines
125 B
Ruby

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