0

I'm trying to run heroku run rake db:migrate, but I get the following:

  Running rake db:migrate attached to terminal... up, run.7

And that's it - Migration is not happening!

Although I have set up everything alright - development as sqlite3 and production as pg. And previously all the migrations worked just fine. (rails 3.1. app )

I'm not sure what is happening here.

Here are the logs:

  ←[35m2012-01-08T11:25:22+00:00 app[run.8]:←[0m Awaiting client
  ←[35m2012-01-08T11:25:22+00:00 app[run.8]:←[0m Starting process with command `bu
  ndle exec rake db:migrate`
  ←[35m2012-01-08T11:25:22+00:00 heroku[run.8]:←[0m State changed from starting to
  up
  ←[35m2012-01-08T11:25:35+00:00 heroku[run.8]:←[0m State changed from up to compl
  ete
  ←[35m2012-01-08T11:25:35+00:00 heroku[run.8]:←[0m Process exited

I don't see any errors.

Has anybody came across with something similar ?

Thanks!

em-v
  • 417
  • 1
  • 3
  • 14

1 Answers1

-1

The reason for this was simply because the migration has already happened automatically after pushing the updated app to heroku.

em-v
  • 417
  • 1
  • 3
  • 14