hello all, Is there some way to generate migrations from an existing database structure? I have the schema.rb file, but it isn''t enough for me. I need the migration files.... Please 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 -~----------~----~----~----~------~----~------~--~---
On 20 Oct 2008, at 13:40, flaubert wrote:> > hello all, > > > Is there some way to generate migrations from an existing database > structure? I have the schema.rb file, but it isn''t enough for me. I > need the migration files.... >schema.rb is as close as you''re going to get. You could always chop it up into migrations if you really wanted to (why?) Fred> > > Please 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 -~----------~----~----~----~------~----~------~--~---
just to store the database history with my team On 20 out, 09:57, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 20 Oct 2008, at 13:40, flaubert wrote: > > > > > hello all, > > > Is there some way to generate migrations from an existing database > > structure? I have the schema.rb file, but it isn''t enough for me. I > > need the migration files.... > > schema.rb is as close as you''re going to get. You could always chop it > up into migrations if you really wanted to (why?) > > Fred > > > > > Please 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---