Managing Migrations Using DbUp
Learn about adding and configuring DbUp to our project.
We'll cover the following...
DbUp is an open source library that helps us deploy changes to SQL Server databases. It keeps track of SQL Scripts embedded within an ASP.NET Core project, along with which ones have been executed on the database. It contains methods that we can use to execute the SQL Scripts that haven’t been executed yet on the database.
In this section, we are going to add DbUp to our project and configure it to do our database migrations when our app starts up.
Installing DbUp into our project
Let’s start ...