mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 22:15:23 +01:00
11 lines
216 B
Ruby
11 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
|