This commit is contained in:
@@ -6,7 +6,7 @@ public static class Postgres
|
||||
{
|
||||
public static IServiceCollection AddLeadGeneratorDatabase(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
services.AddPooledDbContextFactory<LeadGeneratorDbContext>(options =>
|
||||
services.AddPooledDbContextFactory<ShopDbContext>(options =>
|
||||
options.UseNpgsql(configuration.GetConnectionString("PostgresLeadGenerator")));
|
||||
|
||||
return services;
|
||||
|
||||
Reference in New Issue
Block a user