mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
update db scripts
This commit is contained in:
9
scripts/update-db.sh
Normal file
9
scripts/update-db.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
OUTPUT_DIR=/etc/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"
|
||||
Reference in New Issue
Block a user