1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/scripts/update-db.ps1

9 lines
225 B
PowerShell
Raw Normal View History

2017-08-19 16:05:32 +02:00
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"