diff options
| author | Patrick Barron <barronpm@gmail.com> | 2023-01-16 12:14:44 -0500 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2023-01-16 12:14:44 -0500 |
| commit | 8479f0f90cd8b7180f45340a59d7122755987859 (patch) | |
| tree | 71bcb635709876ad992195e002d7fb28d450f891 /Jellyfin.Server/Program.cs | |
| parent | 3f66a482069ab98396952292db379e7248cb1166 (diff) | |
Rename JellyfinDb to JellyfinDbContext
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 2 |
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()) |
