Fix version resolution and scan handling

This commit is contained in:
Shadowghost
2026-02-07 19:01:37 +01:00
parent 00dd84035e
commit 2420ece5fe
6 changed files with 90 additions and 36 deletions

View File

@@ -77,7 +77,8 @@ public sealed class SqliteDatabaseProvider : IJellyfinDatabaseProvider
sqLiteOptions => sqLiteOptions.MigrationsAssembly(GetType().Assembly))
// TODO: Remove when https://github.com/dotnet/efcore/pull/35873 is merged & released
.ConfigureWarnings(warnings =>
warnings.Ignore(RelationalEventId.NonTransactionalMigrationOperationWarning))
warnings.Ignore(RelationalEventId.NonTransactionalMigrationOperationWarning)
.Ignore(RelationalEventId.MultipleCollectionIncludeWarning))
.AddInterceptors(new PragmaConnectionInterceptor(
_logger,
GetOption<int?>(customOptions, "cacheSize", e => int.Parse(e, CultureInfo.InvariantCulture)),