aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2023-01-16 12:14:44 -0500
committerPatrick Barron <barronpm@gmail.com>2023-01-16 12:14:44 -0500
commit8479f0f90cd8b7180f45340a59d7122755987859 (patch)
tree71bcb635709876ad992195e002d7fb28d450f891 /Jellyfin.Server/Program.cs
parent3f66a482069ab98396952292db379e7248cb1166 (diff)
Rename JellyfinDb to JellyfinDbContext
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 540375dce..70d7a0701 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -236,7 +236,7 @@ namespace Jellyfin.Server
{
_logger.LogInformation("Running query planner optimizations in the database... This might take a while");
// Run before disposing the application
- var context = await appHost.ServiceProvider.GetRequiredService<IDbContextFactory<JellyfinDb>>().CreateDbContextAsync().ConfigureAwait(false);
+ var context = await appHost.ServiceProvider.GetRequiredService<IDbContextFactory<JellyfinDbContext>>().CreateDbContextAsync().ConfigureAwait(false);
await using (context.ConfigureAwait(false))
{
if (context.Database.IsSqlite())