1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01:00
bitwarden-server/scripts/update-db.sh
2017-08-19 15:27:57 -04:00

10 lines
225 B
Bash

#!/usr/bin/env bash
set -e
OUTPUT_DIR=~/bitwarden
docker run -it --rm --name setup --network container:mssql -v $OUTPUT_DIR:/bitwarden bitwarden/setup \
dotnet Setup.dll -update 1 -db 1
echo "Database update complete"