mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-15 14:48:40 +00:00
12 lines
216 B
Ruby
12 lines
216 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveDevices < ActiveRecord::Migration[5.0]
|
|
def up
|
|
drop_table :devices if table_exists?(:devices)
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|