mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 18:54:48 +03:00
fix: open the connection when using SqliteConnection directly
This commit is contained in:
@@ -64,6 +64,8 @@ namespace Jellyfin.Server.Migrations.Routines
|
||||
using (var connection = new SqliteConnection($"Filename={Path.Combine(dataPath, DbFilename)}"))
|
||||
{
|
||||
using var userDbConnection = new SqliteConnection($"Filename={Path.Combine(dataPath, "users.db")}");
|
||||
connection.Open();
|
||||
userDbConnection.Open();
|
||||
_logger.LogWarning("Migrating the activity database may take a while, do not stop Jellyfin.");
|
||||
using var dbContext = _provider.CreateDbContext();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user