diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2012-07-29 18:01:13 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2012-07-29 18:01:13 +0000 |
commit | d048d86c50901239e4e518f9cf7764f6740ea685 (patch) | |
tree | 7e28a4abc3e130c5cf00979dab6749f6f5ce4324 /lib/tasks/redmine.rake | |
parent | 95457c434e6f894c8be9d417bd280f8fbef2f270 (diff) | |
download | redmine-d048d86c50901239e4e518f9cf7764f6740ea685.tar.gz redmine-d048d86c50901239e4e518f9cf7764f6740ea685.zip |
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
Diffstat (limited to 'lib/tasks/redmine.rake')
-rw-r--r-- | lib/tasks/redmine.rake | 2 |
1 files changed, 2 insertions, 0 deletions
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.' |