]> source.dussan.org Git - redmine.git/commitdiff
Merged r22086 from trunk to 5.0-stable (#38199).
authorGo MAEDA <maeda@farend.jp>
Fri, 3 Feb 2023 01:03:42 +0000 (01:03 +0000)
committerGo MAEDA <maeda@farend.jp>
Fri, 3 Feb 2023 01:03:42 +0000 (01:03 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22091 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/redmine.rake

index d21f52d2bafeaf432cc5cc4cb22f736a63024573..b3c2f0122774e628611aaba47cca6389cb5b4c4b 100644 (file)
@@ -153,12 +153,7 @@ DESC
         abort "Plugin #{name} was not found."
       end
 
-      case ActiveRecord::Base.schema_format
-      when :ruby
-        Rake::Task["db:schema:dump"].invoke
-      when :sql
-        Rake::Task["db:structure:dump"].invoke
-      end
+      Rake::Task["db:schema:dump"].invoke
     end
 
     desc 'Copies plugins assets into the public directory.'