mastodon/db/migrate/20170205175257_remove_devic...

6 lines
125 B
Ruby

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