mirror of
https://github.com/bitwarden/server
synced 2025-12-17 16:53:23 +00:00
Added Sql project with database schema. Added SqlServer repositories for Site, Folder, and User (Cipher still TODO). Switched DI in Startup to SqlServer repos.
This commit is contained in:
@@ -5,9 +5,10 @@ namespace Bit.Core
|
||||
{
|
||||
public class GlobalSettings
|
||||
{
|
||||
public string SiteName { get; set; }
|
||||
public string BaseVaultUri { get; set; }
|
||||
public virtual string SiteName { get; set; }
|
||||
public virtual string BaseVaultUri { get; set; }
|
||||
public virtual DocumentDBSettings DocumentDB { get; set; } = new DocumentDBSettings();
|
||||
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
|
||||
public virtual MailSettings Mail { get; set; } = new MailSettings();
|
||||
|
||||
public class DocumentDBSettings
|
||||
@@ -19,6 +20,11 @@ namespace Bit.Core
|
||||
public int NumberOfCollections { get; set; }
|
||||
}
|
||||
|
||||
public class SqlServerSettings
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
}
|
||||
|
||||
public class MailSettings
|
||||
{
|
||||
public string APIKey { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user