I\'m using Entity Framework 5.0 with Code First migrations enabled.
I\'ve added Unique key by using:
CreateIndex(\"dbo.Groups\", \"Name\", true);
Ok, I solved this on my own :)
Apparently I misused syntax for DropIndex. I assumed it takes name of column, but instead it takes name of index. This worked:
DropIndex("dbo.Groups", "IX_Name");
:)
Talking to myself 2013!