Recreating tables in RoR after deleting them in mysql?

I am working thorugh RoR: Up and running and i made some code blunders
in chapter 3 and so my databases were messed up in mysql. so i deleted
the tables in order to re-create them the right way.

now i want to run my RoR program again (rake migrate) but nothings
happening? how do i get my tables back that Ruby created?

Drop and recreate the DB, or set schema_info table/row to version 0.

On Oct 12, 2006, at 10:09 PM, Kyle wrote:

I am working thorugh RoR: Up and running and i made some code blunders
in chapter 3 and so my databases were messed up in mysql. so i deleted
the tables in order to re-create them the right way.

now i want to run my RoR program again (rake migrate) but nothings
happening? how do i get my tables back that Ruby created?


– Tom M.

thanks alot. i tried to run rake migrate version=x in terminal but it
didnt change anything. this makes sense that i have to manually change
the version in the schema.

cheers