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
This commit is contained in:
Jean-Baptiste Barth 2012-07-29 18:01:13 +00:00
parent 95457c434e
commit d048d86c50
1 changed files with 2 additions and 0 deletions

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