mirror of
https://github.com/bitwarden/server
synced 2026-02-21 03:43:44 +00:00
* User V2UpgradeToken for key rotation without logout * reset old v2 upgrade token on manual key rotation * sql migration fix * missing table column * missing view update * tests for V2UpgradeToken clearing on manual key rotation * V2 to V2 rotation causes logout. Updated wrapped key 1 to be a valid V2 encrypted string in tests. * integration tests failures - increase assert recent for date time type from 2 to 5 seconds (usually for UpdatedAt assertions) * repository test coverage * migration script update * new EF migration scripts * broken EF migration scripts fixed * refresh views due to User table alternation
Bitwarden Database Migrator
A class library leveraged by utilities and hosted applications to perform SQL database migrations. A MSSQL migrator exists here as the default use case.
In production environments the Migrator is typically executed during application startup or as part of CI/CD pipelines to ensure database schemas are up-to-date before application deployment.
See the documentation on creating migrations for how to utilize the files seen here.