Rails transitions with the same name

How do people elegantly deal with this problem?

I had a migration that created a table and then another to delete this table, now I want to re-submit it, the problem is that I cannot, because they have the same name.

+4
source share
1 answer

If I understand you correctly, Rails only complains about the name of the migration. Well, the name of the migration does not affect its functionality, so you can just use a different one.

+9
source

Source: https://habr.com/ru/post/1346419/


All Articles