mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
* Document database projects and complete EDD support * Remove an old remnant of a now-unused 'future' state * Sync finalization scripts * Fix conflict * Fix some script issues
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.