]> source.dussan.org Git - redmine.git/commitdiff
Invoke db:schema:dump after plugin migrations so that db/schema.rb stays up-to-date
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sun, 29 Jul 2012 18:01:13 +0000 (18:01 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sun, 29 Jul 2012 18:01:13 +0000 (18:01 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10134 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/redmine.rake

index d4dbdd901291b35083fde00d8176ea37a923f4d4..d590066377f606d76206cf6ae3ab91c4e27afd36 100644 (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.'