获取:“迁移正在等待中;运行“bin/rake db:migrate RAILS_ENV=development"来解决这个问题."克隆和迁移项目后 [英] Getting: "Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue." after cloning and migrating the project
本文介绍了获取:“迁移正在等待中;运行“bin/rake db:migrate RAILS_ENV=development"来解决这个问题."克隆和迁移项目后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我克隆了我的项目.与bundle install"捆绑在一起,然后运行rake db:migrate".我收到此错误:(当我运行 Rails 服务器并打开浏览器到 localhost:3000 时)迁移正在挂起;运行 'bin/rake db:migrate RAILS_ENV=development' 以解决此问题."
I cloned my project. Bundled with "bundle install", then run "rake db:migrate". I am getting this error: (when I run the rails server and open my browser to localhost:3000) "Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue."
我一一检查了所有迁移,并且所有迁移都没有错误地执行.执行rake db:migrate"后也没有显示错误.
I checked all migrations one by one and all were executed without errors. Also no errors were shown after the execution of "rake db:migrate".
查看全文