We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 173226c commit 49a097eCopy full SHA for 49a097e
1 file changed
Services/ConduitLLM.Admin/Extensions/CoreExtensions.cs
@@ -53,12 +53,6 @@ public static IServiceCollection AddCoreServices(this IServiceCollection service
53
services.AddDbContextFactory<ConduitLLM.Configuration.ConduitDbContext>(options =>
54
{
55
options.UseNpgsql(dbConnectionString);
56
- // Suppress PendingModelChangesWarning in production
57
- var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Production";
58
- if (environment == "Production")
59
- {
60
- options.ConfigureWarnings(warnings => warnings.Ignore(Microsoft.EntityFrameworkCore.Diagnostics.RelationalEventId.PendingModelChangesWarning));
61
- }
62
});
63
64
// Also add scoped registration from factory for services that need direct injection
0 commit comments