Remove SQLite runtime provider; keep for migration only

SQLite provider removed from service collection and runtime database options. Microsoft.Data.Sqlite package added to Jellyfin.Server for migration routines (SQLite → PostgreSQL). Migration service updated to always use PostgreSQL. SqliteExtensions restored for migration helpers. SQLite migration test deleted. Documentation added to explain migration-only support and deployment impact. No breaking changes for users migrating from SQLite; deployment size increases (~68 MB) for cross-platform SQLite DLLs.
This commit is contained in:
2026-02-26 17:14:30 -05:00
parent 27e4d11b15
commit 5197948fcc
8 changed files with 541 additions and 25 deletions
@@ -220,7 +220,8 @@ internal class JellyfinMigrationService
ICollection<CodeMigration> migrationStage = (Migrations.FirstOrDefault(e => e.Stage == stage) as ICollection<CodeMigration>) ?? [];
// Filter out SQLite-specific migrations when using non-SQLite providers
bool isSqliteProvider = _jellyfinDatabaseProvider is Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider;
// Note: SQLite provider has been removed from runtime, but migration support remains
bool isSqliteProvider = false; // Always false - SQLite not supported as runtime provider
if (!isSqliteProvider)
{
var sqliteSpecificMigrations = migrationStage.Where(m => m.Metadata.RequiresSqlite).ToList();