From d048d86c50901239e4e518f9cf7764f6740ea685 2012-07-29 18:01:13 From: Jean-Baptiste Barth Date: 2012-07-29 18:01:13 Subject: [PATCH] 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 --- diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake index d4dbdd9..d590066 100644 --- a/lib/tasks/redmine.rake +++ b/lib/tasks/redmine.rake @@ -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.'