From 9462fb4e2caf1dcadb2d27d92005784774a2a779 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 17 Mar 2022 08:25:23 +0000 Subject: 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 --- db/migrate/041_rename_comment_to_comments.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/migrate/041_rename_comment_to_comments.rb') 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 -- cgit v1.2.3