Browse Source

Invoke db:schema:dump after plugin migrations so that db/schema.rb stays up-to-date

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10134 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.1.0
Jean-Baptiste Barth 11 years ago
parent
commit
d048d86c50
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/tasks/redmine.rake

+ 2
- 0
lib/tasks/redmine.rake View File

@@ -70,6 +70,8 @@ namespace :redmine do
rescue Redmine::PluginNotFound
abort "Plugin #{name} was not found."
end

Rake::Task["db:schema:dump"].invoke
end

desc 'Copies plugins assets into the public directory.'

Loading…
Cancel
Save