mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
mssql image setup script, db up migrations with upgrade from setup
This commit is contained in:
@ -36,17 +36,44 @@ namespace Bit.Core
|
||||
|
||||
public class SqlServerSettings
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
private string _connectionString;
|
||||
|
||||
public string ConnectionString
|
||||
{
|
||||
get => _connectionString;
|
||||
set
|
||||
{
|
||||
_connectionString = value.Trim('"');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class StorageSettings
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
private string _connectionString;
|
||||
|
||||
public string ConnectionString
|
||||
{
|
||||
get => _connectionString;
|
||||
set
|
||||
{
|
||||
_connectionString = value.Trim('"');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class AttachmentSettings
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
private string _connectionString;
|
||||
|
||||
public string ConnectionString
|
||||
{
|
||||
get => _connectionString;
|
||||
set
|
||||
{
|
||||
_connectionString = value.Trim('"');
|
||||
}
|
||||
}
|
||||
public string BaseDirectory { get; set; }
|
||||
public string BaseUrl { get; set; }
|
||||
}
|
||||
@ -87,7 +114,16 @@ namespace Bit.Core
|
||||
|
||||
public class NotificationHubSettings
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
private string _connectionString;
|
||||
|
||||
public string ConnectionString
|
||||
{
|
||||
get => _connectionString;
|
||||
set
|
||||
{
|
||||
_connectionString = value.Trim('"');
|
||||
}
|
||||
}
|
||||
public string HubName { get; set; }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user