DbMigration { public override void Up() { AddColumn("dbo.Fruit", "Stock", c => c.Int(nullable: false)); } public override void Down() { DropColumn("dbo.Fruit", "Stock"); } } public class Fruit { public int ID { get; set; } public string Name { get; set; } } public class Fruit { public int ID { get; set; } public string Name { get; set; } public int Stock { get; set; } }