Skip to content

Instantly share code, notes, and snippets.

@jcockhren
Last active December 9, 2015 20:36
Show Gist options
  • Save jcockhren/4d58d603920c39f29f45 to your computer and use it in GitHub Desktop.
Save jcockhren/4d58d603920c39f29f45 to your computer and use it in GitHub Desktop.
How to setup Migrations
  1. From the menu, Go to Tools -> NuGet Package Manager -> Package Manager Console
  2. Follow Steps in commits to ready project for migrations
  3. Run Enable-Migrations -ContextTypeName Jitter.Models.JitterContext
  4. In order to Create an initial migration -> Add-Migration InitialCreate
  5. To apply that migration -> Update-Database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment