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.
 
 
 
 
 
 
gbubemismith 3394834fb2
Updated db object by introducing new version column and defaulting to 1
5 months ago
..
DbScripts Updated db object by introducing new version column and defaulting to 1 5 months ago
DbScripts_finalization Move DbScripts_finalization to DbScripts (#3675) 2 years ago
DbScripts_transition Add gitkeep files to preserve DbScript folders even if there's no sql scripts in them (#3341) 2 years ago
MySql enh(mysql) Enforce ENGINE=InnoDB (#1470) 4 years ago
DbMigrator.cs Add `#nullable disable` to platform code (#6057) 6 months ago
DbUpLogger.cs [deps] DbOps: Update dbup-sqlserver to v6 (#4951) 12 months ago
Migrator.csproj Document database projects and complete EDD support (#5855) 5 months ago
MigratorConstants.cs Document database projects and complete EDD support (#5855) 5 months ago
README.md Document database projects and complete EDD support (#5855) 5 months ago
SqlServerDbMigrator.cs [PM-6938] Allow certain database operations to be skipped (#3914) 2 years ago

README.md

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.