rails no migration with version number

Shell
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 
Source

Also in Shell: