Upgrade does multisite:migrate instead of just db:migrate

This commit is contained in:
Neil Lalonde 2014-03-21 10:29:30 -04:00
parent 866ebd69d9
commit 4483f35cf1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class DockerManager::Upgrader
def upgrade
run("cd #{path} && git pull")
run("bundle install --deployment --without test --without development")
run("bundle exec rake db:migrate")
run("bundle exec rake multisite:migrate")
run("bundle exec rake assets:precompile")
sidekiq_pid = `ps aux | grep sidekiq.*busy | grep -v grep | awk '{ print $2 }'`.strip.to_i
if sidekiq_pid > 0