After my latest version deployment I need to re-migrate my database down to 0 and back up to current.
But my migration rakes are not doing anything. This may be an obvious newbie issue but here is what happens:
xxx@xxx [~/apps/{appname}/current]$ RAILS_ENV=production rake db:migrate version=0 --trace
(in /{path to current release})
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
xxx@xxx [~/apps/{appname}/current]$ RAILS_ENV=production rake db:migrate --trace
(in /{path to current release})
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
xxx@xxx [~/apps/{appname}/current]$