Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails migrations with the same name

How do people cope with this problem elegantly?

I had a migration that created a table, then another to remove that table, now I want to re-introduce it, problem is i cant as they have the same name.

like image 552
dangerousdave Avatar asked Apr 03 '11 08:04

dangerousdave


1 Answers

If I understand you correctly, Rails complains only about migration name only. Well, migration name has no affect on its functionality, so you can just use a different one.

like image 163
Nikita Rybak Avatar answered Sep 30 '22 16:09

Nikita Rybak