DbUp is the little script runner which helps you to deploy changes to databases. It is an open source .NET library. It tracks which SQL scripts have been run already, and runs the change scripts that are needed to get your database up to date.
DbUp uses a builder to configure your database deployments. This library's entry point is DeployChanges.To
followed by extension methods for all of the supported databases. You can find the source code on GitHub.
Here is the sample code to configure DbUp in your console application.
var runner = DeployChanges.To
.SqlDatabase(connectionString)
.WithScriptsEmbeddedInAssembly(Assembly.GetExecutingAssembly())
.LogToConsole()
.Build();