Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
命令 rake db:migrate:up 在 Rails 3.2.13 中有效吗?rake db:rollback 的等价物/相反物是什么?
谢谢!
我想你正在寻找的是 db:migrate:redo
db:migrate:redo
查看http://guides.rubyonrails.org/migrations.html#rolling-back了解更多详情。