📌  相关文章
📜  rails no migration with version number - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:20.633000             🧑  作者: Mango

代码示例1
rake db:migrate:status 
# returns something like
# up 20200424185017 migration name
# up 20200507195924 ********** NO FILE **********

rake db:migrate:down VERSION=x
# x = version number you want to migrate to, in this case it would probably be 20200424185017