1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Migration Fix (#1448)

* created stubs for missing ef provider methods

* fixed the initial postgres migration
This commit is contained in:
Addison Beck
2021-07-08 15:46:13 -04:00
committed by GitHub
parent b13dda2799
commit 4a828ad440
8 changed files with 318 additions and 344 deletions

View File

@ -20,6 +20,11 @@ namespace Bit.Core.Repositories.EntityFramework
: base(serviceScopeFactory, mapper, (DatabaseContext context) => context.ProviderOrganizations)
{ }
public Task<ICollection<ProviderOrganization>> GetManyByUserIdAsync(Guid userId)
{
throw new NotImplementedException();
}
public async Task<ICollection<ProviderOrganizationOrganizationDetails>> GetManyDetailsByProviderAsync(Guid providerId)
{
using (var scope = ServiceScopeFactory.CreateScope())

View File

@ -140,5 +140,10 @@ namespace Bit.Core.Repositories.EntityFramework
return data;
}
}
public Task<IEnumerable<ProviderUserOrganizationDetails>> GetManyOrganizationDetailsByUserAsync(Guid userId, ProviderUserStatusType? status = null)
{
throw new NotImplementedException();
}
}
}