1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 19:05:07 -05:00

update db scripts

This commit is contained in:
Kyle Spearrin
2017-08-19 10:05:32 -04:00
parent 0c71c1a44f
commit eef67f3043
2 changed files with 17 additions and 0 deletions

8
scripts/update-db.ps1 Normal file
View File

@ -0,0 +1,8 @@
param (
[string]$outputDir = "c:/bitwarden"
)
docker run -it --rm --name setup --network container:mssql -v ${outputDir}:/bitwarden bitwarden/setup `
dotnet Setup.dll -update 1 -db 1
echo "Database update complete"