DbUp is a set of .NET libraries that helps you to deploy changes to different databases like SQL Server. It tracks which SQL scripts have been run already, and runs the change scripts that are needed to get your database up to date.
To learn more about DbUp check out the documentation.
| Package | Stable | Latest Stable | Latest Prerelease | Issues | Pull Requests | |
|---|---|---|---|---|---|---|
| Documentation | ||||||
| DbUp-Core | ||||||
| DbUp-SqlServer | ||||||
| DbUp-MySql | ||||||
| DbUp-SQLite | ||||||
| DbUp-PostgreSQL | ||||||
| DbUp-Firebird | ||||||
| DbUp-Oracle | ||||||
| DbUp-Redshift |
The following providers are End of Life (EOL) and are no longer maintained:
- Sql Anywhere
- SqlCE
- SQLite (Mono)
Maintenance and support for the extensions where not provided by the DbUp project. For questions and support on these extensions, please contact the project directly.
https://github.com/drewburlingame/dbup-cli
A dotnet tool that install all sql scripts from the specified folders. A simple configuration model provides the knobs to control how the scripts are applied. The only code that needs to be written is sql.
https://github.com/mthpbs/DbUpX
Extensions to DbUp supporting easy filtering, ordering and versioning:
- a journaling system that stores hashes of script contents, so we know if they need to rerun,
- a concept of "dependency comments" in scripts that let you more easily control the ordering of scripts,
- protection against code reorganisation affecting long script names,
- utilities for sorting and filtering scripts in helpful ways.
https://github.com/twenzel/DbUp.Extensions
Extensions to DbUp supporting versioning and script providers:
- a journaling system that stores hashes of script contents, so we know if they need to rerun,
- a script provider for reading Liquibase changelog files
To build the providers, you will need to add the DbUp NuGet feed to your local machine. Do this by generating
a GitHub token with read:package access and running:
dotnet nuget add source --name DbUp --username <YourUsername> --password <TheToken> https://nuget.pkg.github.com/DbUp/index.json