1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09: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