Welcome Guest | Login

rake migrate problem

im having a bit of trouble getting my data migrations into the mysql database. I created a database, and granted a user permission to access the database. unfortunately i don't get a response when i type:   rake migrate. nothing in the log. no output. my database.yml is set up correctly. what else could be wrong?

2007-08-24 09:12 PM

It could be one of two problems:

1)  Is there already data in the database?  Check the version of the schema_info table.  If it is already set to the latest migration, then nothing will happen because the rake task things the DB is up to date

2)  When you do a PRODUCTION migration, the command is:
rake db:migrate RAILS_ENV=production
Anything else will fail.

2007-08-24 09:55 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.