Skip to content

Instantly share code, notes, and snippets.

@owickstrom
Created October 17, 2012 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owickstrom/3904278 to your computer and use it in GitHub Desktop.
Save owickstrom/3904278 to your computer and use it in GitHub Desktop.
A simple Continuous Integration and Deployment workflow with ASP.NET MVC, GitHub and Jenkins (Changing the model)
public class Thing
{
public long ThingId { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
public partial class ThingDescription : DbMigration
{
public override void Up()
{
AddColumn("dbo.Thing", "Description", c => c.String());
}
public override void Down()
{
DropColumn("dbo.Thing", "Description");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment