1
0
mirror of https://framagit.org/tykayn/mastodon.git synced 2023-08-25 08:33:12 +02:00
mastodon/db/migrate/20170205175257_remove_devices.rb
2020-06-02 19:24:53 +02:00

6 lines
125 B
Ruby

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