lib/capistrano/tasks/migrations.rake in capistrano-rails-0.0.4 vs lib/capistrano/tasks/migrations.rake in capistrano-rails-0.0.5
- old
+ new
@@ -7,8 +7,8 @@
execute :rake, "db:migrate RAILS_ENV=#{fetch(:stage)}"
end
end
end
- before 'deploy:finalize', 'deploy:migrate'
+ after 'deploy:updated', 'deploy:migrate'
end