1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 21:18:13 -05:00

few fixes

This commit is contained in:
Kyle Spearrin 2017-03-18 18:42:04 -04:00
parent 588f6c7c2c
commit 6c20bd31f6
3 changed files with 9 additions and 2 deletions

View File

@ -80,6 +80,7 @@ namespace Bit.Api
services.AddSingleton<IOrganizationUserRepository, SqlServerRepos.OrganizationUserRepository>();
services.AddSingleton<ISubvaultRepository, SqlServerRepos.SubvaultRepository>();
services.AddSingleton<ISubvaultUserRepository, SqlServerRepos.SubvaultUserRepository>();
services.AddSingleton<IFolderRepository, SqlServerRepos.FolderRepository>();
// Context
services.AddScoped<CurrentContext>();

View File

@ -5,7 +5,10 @@
@Type TINYINT,
@Data NVARCHAR(MAX),
@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
BEGIN
SET NOCOUNT ON

View File

@ -5,7 +5,10 @@
@Type TINYINT,
@Data NVARCHAR(MAX),
@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
BEGIN
SET NOCOUNT ON