Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rake not creating databases

Status
Not open for further replies.
Jan 3, 2008
4
0
0
US
I am some what new to ruby but not new to programming.


i am using rad rails and everything seems to be working correctly.

Except when I try to get Rake to migrate:db

I get no errors but the database never updates.

I have read that this could be a database revision number issue.

But I am not really sure where to go from there. Anyone have a suggestion?
 
Rake puts a one-row table in your database, where it keeps the current version of the database. Try deleting this table and re-running the migration. This should rerun all your migrations from the beginning.

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top