I got the default ASP.NET MVC 4 template successfully running with EF 5.0 Code First Migrations. However, when I update a model property name, the corresponding table column dat
like +Josh Gallagher said, you can use up() for doing things like:
public override void Up() { RenameColumn("dbo.atable","oldname","newname"); AddColumn("dbo.anothertable", "columname", c => c.String(maxLength: 250)); }
i've found this a good help in gettin into migration ;)