📅  最后修改于: 2022-03-11 14:51:20.633000             🧑  作者: Mango
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