The core infrastructure backend (API, database, Docker, etc).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Matt Gibson 0bd05e7a2b
add-opentelemetry
4 months ago
..
.dockerignore [DEVOPS-1388] Dockerize the DB Migrator Utility (#2936) 3 years ago
Dockerfile BRE-917 Update to Alpine base (#5976) 5 months ago
MsSqlMigratorUtility.csproj add-opentelemetry 4 months ago
Program.cs chore: run `dotnet format` (#5137) 1 year ago
README.md Document database projects and complete EDD support (#5855) 5 months ago

README.md

Bitwarden MSSQL Database Migrator Utility

A command-line utility for performing MSSQL database migrations for Bitwarden's self-hosted and cloud deployments.

Overview

The MSSQL Migrator Utility is a specialized tool that leverages the Migrator library to handle MSSQL database migrations. The utility uses DbUp to handle the execution and tracking of database migrations. It runs SQL scripts in order, tracking which scripts have been executed to avoid duplicate runs.

Features

  • Command-line interface for executing database migrations
  • Integration with DbUp for reliable migration management
  • Execution inside or outside of transactions for different application scenarios
  • Script execution tracking to prevent duplicate migrations and support retries

See the documentation for usage.