summaryrefslogtreecommitdiffstats
path: root/db/migrate/041_rename_comment_to_comments.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/041_rename_comment_to_comments.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/041_rename_comment_to_comments.rb')
-rw-r--r--db/migrate/041_rename_comment_to_comments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/041_rename_comment_to_comments.rb b/db/migrate/041_rename_comment_to_comments.rb
index 02391091a..300c239f6 100644
--- a/db/migrate/041_rename_comment_to_comments.rb
+++ b/db/migrate/041_rename_comment_to_comments.rb
@@ -8,6 +8,6 @@ class RenameCommentToComments < ActiveRecord::Migration[4.2]
end
def self.down
- raise IrreversibleMigration
+ raise ActiveRecord::IrreversibleMigration
end
end