1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-11 13:15:20 +00:00

Fix deprecation warning for db:structure:dump in db:migrate when using sql schema format (#38199).

Contributed by Dmitry Makurin.


git-svn-id: https://svn.redmine.org/redmine/trunk@22086 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2023-02-01 07:53:50 +00:00
parent 109b911457
commit 60317acf25

View 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.'