[RUBY] Multiple migrations have the name Error resolution

This is the first post. When creating an application using Rails, when migrating

Multiple migrations have the name

Error occurred, so make a note of how to deal with it as a reminder.

The development environment is ** Ruby_on_Rails vesion 6.0.0 **.

Regarding the error, it seems that it was caused by ** a migration file with the same name already exists **, so check the "migratin directory" of the "db directory". As expected, a file with the same name (created at a different date and time) existed, so the migration file on the unused side was deleted. After that, I was able to avoid the error by executing the migration.

Recommended Posts

Multiple migrations have the name Error resolution
ITMS-90626 Error Resolution
ActionController :: InvalidAuthenticityToken error resolution
rails error resolution summary
Error resolution on Heroku
(Solution) Mysql2 :: Error: Field'Column name' doesn't have a default value
Change the file name and output destination of the JavaVM error file