mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Merge 20c599fb69
into a50c8e951f
This commit is contained in:
commit
55d294721a
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class RemoveDevices < ActiveRecord::Migration[5.0]
|
class RemoveDevices < ActiveRecord::Migration[5.0]
|
||||||
def change
|
def up
|
||||||
drop_table :devices if table_exists?(:devices)
|
drop_table :devices if table_exists?(:devices)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
raise ActiveRecord::IrreversibleMigration
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue