瀏覽代碼

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 年之前
父節點
當前提交
60317acf25
共有 1 個檔案被更改,包括 1 行新增6 行删除
  1. 1
    6
      lib/tasks/redmine.rake

+ 1
- 6
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.'

Loading…
取消
儲存