1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
bitwarden-server/scripts/update-db.sh

10 lines
225 B
Bash
Raw Normal View History

2017-08-19 16:05:32 +02:00
#!/usr/bin/env bash
set -e
2017-08-19 21:27:57 +02:00
OUTPUT_DIR=~/bitwarden
2017-08-19 16:05:32 +02:00
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"