From: Jean-Baptiste Barth Date: Sun, 29 Jul 2012 18:01:13 +0000 (+0000) Subject: Invoke db:schema:dump after plugin migrations so that db/schema.rb stays up-to-date X-Git-Tag: 2.1.0~189 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d048d86c50901239e4e518f9cf7764f6740ea685;p=redmine.git 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 d4dbdd901..d59006637 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.'