# DbUp/DbUp

DbUp is a .NET library that helps you to deploy changes to SQL Server databases. It tracks which SQL scripts have been run already, and runs the change scripts that are needed to get your database up to date.

Repository: https://github.com/DbUp/DbUp
Canonical: https://ross.abutalabs.com/products/dbup
Homepage: http://dbup.github.io
Language: C#
License: MIT
License Family: permissive
Last push: 2026-02-23T23:09:58+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 69, release rhythm 59, longevity 100
- inputs: {"age_days": 5166, "days_push": 191, "days_rel": 192, "gap_med": 81.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2621, forks 536 (observed 2026-08-28T04:07:05.020841+00:00)

## What it is
DbUp is a .NET library for deploying changes to SQL Server and other databases. It tracks which SQL scripts have already run and executes only the pending change scripts to bring the database up to date.

## Use cases
- run sql migration scripts on deploy
- track which database scripts have been applied
- version sql server schema changes
- migrate postgresql database with scripts
- automate database upgrades in ci/cd
- apply idempotent sql change scripts

## When to choose
- you want simple script-based database migrations in a .NET application
- you need migration support for many database engines (SQL Server, PostgreSQL, MySQL, Oracle, SQLite)
- you prefer migrations run from application code rather than a separate tool

## When to avoid
- you need declarative schema diffing or automatic migration generation
- you use a non-.NET stack with its own ecosystem migration tools
- you need a standalone CLI-first migration tool with interactive rollback

## Facets
- artifact type: library
- maturity: stable
- function: database, deployment, workflow-automation
- domain: databases, developer-tools
- platform: dotnet, cross-platform
- tags: database-migration, sql-scripts, schema-migration, sql-server, csharp, devops

## Member repositories
- DbUp/DbUp (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:05.020841+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:20:05.258086+00:00, confidence not recorded.
  - readme: https://github.com/DbUp/DbUp (fetched 2026-08-28T04:07:05.020841+00:00, sha 054a016c94cb)
  - homepage: http://dbup.github.io (fetched 2026-08-29T10:03:01.527224+00:00, sha 2a29f57963a4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
