Wes Duff
2008-Oct-26 05:52 UTC
migration is setting order incorrectly 2088...._create_user.rb instead of 001_create_user.rb
I am having a problem trying to fix this situation. When I create a new model the migration starts at something like 2086748394485_create_user.rb instead of 001_create_user.rb. I have been searching for hours trying to find a reason for this. Has anyone else had this problem. Thanks for the help. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Maurício Linhares
2008-Oct-26 10:39 UTC
Re: migration is setting order incorrectly 2088...._create_user.rb instead of 001_create_user.rb
This is not a bug and the order is not incorrect, now rails uses timestamps to numerate migrations. On Sun, Oct 26, 2008 at 2:52 AM, Wes Duff <slysop-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I am having a problem trying to fix this situation. When I create a > new model the migration starts at something like > 2086748394485_create_user.rb instead of 001_create_user.rb. > > I have been searching for hours trying to find a reason for this. > > Has anyone else had this problem. > > Thanks for the help. > > > > >-- Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) João Pessoa, PB, +55 83 8867-7208 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Wes Duff
2008-Oct-29 15:24 UTC
Re: migration is setting order incorrectly 2088...._create_user.rb instead of 001_create_user.rb
ah thanks On Oct 26, 5:39 am, "Maurício Linhares" <mauricio.linha...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> This is not a bug and the order is not incorrect, now rails uses > timestamps to numerate migrations. > > On Sun, Oct 26, 2008 at 2:52 AM, Wes Duff <sly...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I am having a problem trying to fix this situation. When I create a > > new model the migration starts at something like > > 2086748394485_create_user.rb instead of 001_create_user.rb. > > > I have been searching for hours trying to find a reason for this. > > > Has anyone else had this problem. > > > Thanks for the help. > > -- > Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) |http://blog.codevader.com/(en) > João Pessoa, PB, +55 83 8867-7208--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---