mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
fix mssql connection string in setup
This commit is contained in:
parent
4ccbf318b6
commit
dcd5b95db0
@ -232,8 +232,10 @@ namespace Bit.Setup
|
|||||||
Console.WriteLine("Migrating database.");
|
Console.WriteLine("Migrating database.");
|
||||||
|
|
||||||
var dbPass = Helpers.GetValueFronEnvFile("mssql", "SA_PASSWORD");
|
var dbPass = Helpers.GetValueFronEnvFile("mssql", "SA_PASSWORD");
|
||||||
var masterConnectionString = Helpers.MakeSqlConnectionString("mssql", "master", "sa", dbPass ?? string.Empty);
|
var masterConnectionString = Helpers.MakeSqlConnectionString(
|
||||||
var vaultConnectionString = Helpers.MakeSqlConnectionString("mssql", "vault", "sa", dbPass ?? string.Empty);
|
"bitwarden-mssql", "master", "sa", dbPass ?? string.Empty);
|
||||||
|
var vaultConnectionString = Helpers.MakeSqlConnectionString(
|
||||||
|
"bitwarden-mssql", "vault", "sa", dbPass ?? string.Empty);
|
||||||
|
|
||||||
using(var connection = new SqlConnection(masterConnectionString))
|
using(var connection = new SqlConnection(masterConnectionString))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user