I want to perform a column dropping in my Up migration. I am using EF 5.
DropColumn("dbo.MyObjects", "AttributeId");
The issue is that in some way part of database instances do not have that column (long story how). I am thinking of dropping it with Sql and searching in sys.columns, or wrapping DropColumn in try ... catch.
But maybe there is some known way to do it with Entity Framework migrations?