Are you the same guy that is having one app point to the DATABASE_URL of another heroku app?
these wouldn't be the same apps, right? (cuz, well that would be the first thing I would suspect) Prior to running your migrations you can check the migration version with: heroku rake db:version On Tue, Jan 25, 2011 at 11:07 PM, Wes Gamble <we...@att.net> wrote: > This happened again to me. I verified that: > > - the schema_migrations table was full of data > - that a Gemfile change didn't prompt this. > > For whatever it's worth, here is the relevant portion of my Ruby script for > pushing my app to heroku: > > #Push to Heroku > system 'git push heroku' > > #Migrate the DB for the main application > system 'heroku rake db:migrate' > > I have the DB backups in place to recover from this, but it is very > disconcerting. > > I'm trying to think of a reason why the schema_migrations table might not > be available after the 'git push heroku' call. Should I make the script > sleep for a couple of seconds? > > Wes > > On 1/25/11 6:27 PM, Wes Gamble wrote: > > Today, I ran my standard task to push changes to two different Heroku apps. > > As part of this task, I issue a: > > heroku rake db:migrate > > In both cases, the database started migrating from the very first > migration. This, of course, doesn't make sense unless the schema_migrations > table were empty or something, which shouldn't have been the case. > > Has anyone else complained about this today? > > After restoring the DBs in question up from my local installation using > taps, I didn't see this behavior again. > > Wes > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to heroku@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to heroku@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- -John -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.