Ingo Weiss wrote:
I am just beginning to use capistrano. When I run 'rake deploy', should Capistrano run migrations on the remote production database automatically? If no, can I configure it to do so? Or what is the best practices way of doing it? Currently, i am SSHing into my remote server after running 'rake deploy' and running the migrations manually.
If you put the command "migrate" in your :after_update_code task in your deploy script, Capistrano will do a migrate for you.