Introducing Dubnium
· One min read
Dubnium is a CLI-powered database migration and schema-comparison tool for SQL Server, exposed through the dbm global-tool command.
Managing database changes across multiple environments is difficult when scripts run out of order, manual change logs drift from reality, or production deployments are not repeatable.
Dubnium treats every database change as a versioned SQL script committed to source control, the same way you version application code.
What you get
- Sequential, tracked deployments: Dubnium records applied scripts in
__DubniumInfoand skips versions already run for that script type. - Script type separation: keep infrastructure in
Migration/Platform/, generated output inMigration/Generated/, and feature work inMigration/Application/. - Variable substitution: write
{{SCHEMA_NAME}}in SQL and resolve it per environment at deploy time. - Schema comparison: diff a live database against a saved source schema or compare two configured databases.
- Data migration support: dump configured tables to CSV and import CSV files after deployment.
- Dry-run mode: simulate supported operations before applying changes.
Get started with dotnet tool install --global dubnium-cli, then run dbm init.