db folder is empty. how to regenerate?

by mistake i have deleted the contents of the db folder in an rails app.
how do i recreate those db migration files?

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 :slight_smile:

if you just need the structure of the database then rake
db:schema:dump will dump that.

Fred

Um... no? If you need to create a db according to the dumped schema
(on another machine, I presume), you'd use "rake db:schema:dump".

And you are using source control, right? I hope?

--Matt Jones