mirror of
https://github.com/bitwarden/server.git
synced 2025-04-09 15:18:13 -05:00
few fixes
This commit is contained in:
parent
588f6c7c2c
commit
6c20bd31f6
src
@ -80,6 +80,7 @@ namespace Bit.Api
|
|||||||
services.AddSingleton<IOrganizationUserRepository, SqlServerRepos.OrganizationUserRepository>();
|
services.AddSingleton<IOrganizationUserRepository, SqlServerRepos.OrganizationUserRepository>();
|
||||||
services.AddSingleton<ISubvaultRepository, SqlServerRepos.SubvaultRepository>();
|
services.AddSingleton<ISubvaultRepository, SqlServerRepos.SubvaultRepository>();
|
||||||
services.AddSingleton<ISubvaultUserRepository, SqlServerRepos.SubvaultUserRepository>();
|
services.AddSingleton<ISubvaultUserRepository, SqlServerRepos.SubvaultUserRepository>();
|
||||||
|
services.AddSingleton<IFolderRepository, SqlServerRepos.FolderRepository>();
|
||||||
|
|
||||||
// Context
|
// Context
|
||||||
services.AddScoped<CurrentContext>();
|
services.AddScoped<CurrentContext>();
|
||||||
|
@ -5,7 +5,10 @@
|
|||||||
@Type TINYINT,
|
@Type TINYINT,
|
||||||
@Data NVARCHAR(MAX),
|
@Data NVARCHAR(MAX),
|
||||||
@CreationDate DATETIME2(7),
|
@CreationDate DATETIME2(7),
|
||||||
@RevisionDate DATETIME2(7)
|
@RevisionDate DATETIME2(7),
|
||||||
|
-- Extra, unused props from cipher details model since dapper maps all child properties too. This is kind of a hack.
|
||||||
|
@FolderId UNIQUEIDENTIFIER,
|
||||||
|
@Favorite BIT
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
SET NOCOUNT ON
|
SET NOCOUNT ON
|
||||||
|
@ -5,7 +5,10 @@
|
|||||||
@Type TINYINT,
|
@Type TINYINT,
|
||||||
@Data NVARCHAR(MAX),
|
@Data NVARCHAR(MAX),
|
||||||
@CreationDate DATETIME2(7),
|
@CreationDate DATETIME2(7),
|
||||||
@RevisionDate DATETIME2(7)
|
@RevisionDate DATETIME2(7),
|
||||||
|
-- Extra, unused props from cipher details model since dapper maps all child properties too. This is kind of a hack.
|
||||||
|
@FolderId UNIQUEIDENTIFIER,
|
||||||
|
@Favorite BIT
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
SET NOCOUNT ON
|
SET NOCOUNT ON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user