Downgrading the Database5:01 with James Churchill
Let's see how we can downgrade a database just as easily as we can upgrade a database.
To follow along commiting your changes to this course, you'll need to fork the dotnet-ef-migrations repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork>
git checkout tags/v2.2 -b downgrading-the-database
Here's a link to a detailed breakdown of the available Code First Migrations commands (including the flags available for each).
You need to sign up for Treehouse in order to download course files.Sign up