In EF, you can use migrations to facilitate the creation, upgrade, and downgrade of your database. You can also use the automatically generated version history to keep track of changes and stay in sync with the rest of your development team.
We have previously set up migrations in our sample project to get the ball rolling. In this section, we will add a new migration to reflect the changes we made in this chapter.
The following is a recap of how we previously set up our migrations for EF. Once again, keep in mind that your DNX version may vary:
>dotnet restore >dotnet build >dotnet ...