Browse Source

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
tags/5.1.0
Go MAEDA 1 year ago
parent
commit
60317acf25
1 changed files with 1 additions and 6 deletions
  1. 1
    6
      lib/tasks/redmine.rake

+ 1
- 6
lib/tasks/redmine.rake 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.'

Loading…
Cancel
Save