1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-03-27 05:40:45 -04:00
tootlab-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