Answer the question
In order to leave comments, you need to log in
Why is the rake db:migrate command not running?
When executing the rake db:migrate command in the console, the console does not respond to the command in any way (neither with an error message, nor with a success message). It also does not run migrations in the project. The command is not executed even after changing any migrations at all. I've used this command successfully before.
Answer the question
In order to leave comments, you need to log in
If there are no errors, then everything went fine. The absence of text indicates that there is nothing to migrate there.
You can check with
There everything will be UP
Perhaps you are looking in the wrong environments (dev, prod, test)
Maybe you are doing this on the server, or you want to see changes in production, while the default is the dev environment.
Then you gotta tryRAILS_ENV=production bundle exec rake db:migrate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question