On 27 Jan 2009, at 16:11, Michael Satterwhite wrote:
> > I've created a migration to create a new table. I'm noting that the > format of the migration name created by the generator has changed. Up > until now, the migration names were of the form "00n_<text>" ... now > the > form is <yymmdd><some digits>_<text>. It's a UTC timestamp > > > The problem that I'm having is that rake db:migrate is trying to rerun > all my migrations from "001" forward. the schema tables in the > database > show the schema to be at 19. I would have expected the new migration > to > be 020_<text>, but the name format has changed as shown above. > Do you also have a schema migrations table ? if so I'd try dropping it. This is the replacement for the schema_info table, and should be automatically created so that migrations are assumed to have run up to the right point but might have got screwed up. Fred > Obviously, something has changed in this area. I've tried googling, > but > I haven't found the right search terms. How do I get migrations to run > again. I'd be happy to reset everything to the current state of the > database, then move forward with the new migration. I'd be happy > just to > get it working again. > > Can anyone offer any help > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---