Topic: rake db:migrate works, rake RAILS_ENV=production db:migrate does not..
First time deploying...
Setup includes Slicehost, Passenger, and Capistrano
Now... for some strange reason... rake db:migrate works without a hitch...
However, running rake RAILS_ENV=production db:migrate aborts with the following error:
Mysql::Error: Table 'db_production.posts' doesn't exist: SHOW FIELDS FROM `posts`
Why is it looking for the posts table?? There are no tables yet, as I've not been able to migrate the prod db...
Just had a thought... I'm going to copy the ev db as a temp fix, but why is this the case?
Sheared for the last 2 days, to no avail.
Thanks in advance!