Frederick Cheung wrote: > On Aug 13, 9:01�am, Rails List <[email protected]> > wrote: >> by mistake i have deleted the contents of the db folder in an rails app. >> how do i recreate those db migration files? > > restore them from source control :-) > > if you just need the structure of the database then rake > db:schema:dump will dump that. > > Fred
Fred, thanks a lot. it has create the schema dump. if I do db:migrate, will it create all the tables using my current connection parameters? -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

