Énumérez et supprimez la migration de la console Rails
rails db:migrate:status
rails dbconsole
delete from schema_migrations where version='<version>';
Nutty Narwhal
rails db:migrate:status
rails dbconsole
delete from schema_migrations where version='<version>';