summaryrefslogtreecommitdiffstats
path: root/db/migrate/044_set_language_length_to_five.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-03-17 08:25:23 +0000
committerGo MAEDA <maeda@farend.jp>2022-03-17 08:25:23 +0000
commit9462fb4e2caf1dcadb2d27d92005784774a2a779 (patch)
tree2665060ab281b352126ee9bb83cf05f9f7f33954 /db/migrate/044_set_language_length_to_five.rb
parentb51d40fe38f4f508edd03323b1d3dc30bc9931e3 (diff)
downloadredmine-9462fb4e2caf1dcadb2d27d92005784774a2a779.tar.gz
redmine-9462fb4e2caf1dcadb2d27d92005784774a2a779.zip
Fix to use a correct exception class ActiveRecord::IrreversibleMigration in migrations (#36770).
git-svn-id: http://svn.redmine.org/redmine/trunk@21458 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/044_set_language_length_to_five.rb')
-rw-r--r--db/migrate/044_set_language_length_to_five.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/044_set_language_length_to_five.rb b/db/migrate/044_set_language_length_to_five.rb
index 1e600690f..524b2327d 100644
--- a/db/migrate/044_set_language_length_to_five.rb
+++ b/db/migrate/044_set_language_length_to_five.rb
@@ -4,6 +4,6 @@ class SetLanguageLengthToFive < ActiveRecord::Migration[4.2]
end
def self.down
- raise IrreversibleMigration
+ raise ActiveRecord::IrreversibleMigration
end
end