From: Go MAEDA Date: Fri, 3 Feb 2023 01:03:42 +0000 (+0000) Subject: Merged r22086 from trunk to 5.0-stable (#38199). X-Git-Tag: 5.0.5~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e3c85f4c08784f308cb3affde4699d753970680b;p=redmine.git Merged r22086 from trunk to 5.0-stable (#38199). git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22091 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake index d21f52d2b..b3c2f0122 100644 --- a/lib/tasks/redmine.rake +++ b/lib/tasks/redmine.rake @@ -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.'