2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Raise ActiveRecord::IrreversibleMigration instead of StandardError.

This commit is contained in:
Guo Xiang Tan 2017-06-05 11:02:24 +09:00
parent 18e598a3b0
commit 0c203e61cd
2 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,6 @@ class AddUnreadTrackingColumns < ActiveRecord::Migration
end end
def down def down
raise "Can not be reverted" raise ActiveRecord::IrreversibleMigration
end end
end end

View file

@ -3,6 +3,6 @@ class DropUnreadTrackingColumns < ActiveRecord::Migration
end end
def down def down
raise "Can not be reverted" raise ActiveRecord::IrreversibleMigration
end end
end end