Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 862 Bytes

File metadata and controls

26 lines (18 loc) · 862 Bytes
sidebar_position
1

MSSQL

Bitwarden primarily stores data in MSSQL (Microsoft SQL Server). The data access layer in the Server is written using Dapper which is a lightweight object mapper for .NET.

Creating the database

See Server Setup Guide.

Updating the database

The dev/migrate.ps1 helper script uses our MsSql Migrator Utility to run migrations. You should run the helper script whenever you sync with the main branch or create a new migration script. Migrations that have already been run are tracked in the Migration table of your database.

Modifying the database

The process for modifying the database is described in Migrations.