Is it standard practice to put db:migrate in my capistrano task, maybe before updating the code? I don't want to forget to add a column to production and get errors so I feel like there should be a seamless way to do this. Is there anything wrong with doing it the way I mentioned? ...just wondering what the standard practice is here
views:
35answers:
1
+2
A:
Do cap -T
and read about cap:deploy:migrate
and cap:deploy:migrations
.
Ben
2009-11-19 17:33:23
:migrations => "deploy and then run migrations", while :migrate => "run migrations on the current deployment"
wesgarrison
2009-11-19 18:18:47