|
|
@ -63,7 +63,10 @@ namespace Jellyfin.Server.Migrations.Routines
|
|
|
|
var dataPath = _paths.DataPath;
|
|
|
|
var dataPath = _paths.DataPath;
|
|
|
|
using (var connection = new SqliteConnection($"Filename={Path.Combine(dataPath, DbFilename)}"))
|
|
|
|
using (var connection = new SqliteConnection($"Filename={Path.Combine(dataPath, DbFilename)}"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
connection.Open();
|
|
|
|
|
|
|
|
|
|
|
|
using var userDbConnection = new SqliteConnection($"Filename={Path.Combine(dataPath, "users.db")}");
|
|
|
|
using var userDbConnection = new SqliteConnection($"Filename={Path.Combine(dataPath, "users.db")}");
|
|
|
|
|
|
|
|
userDbConnection.Open();
|
|
|
|
_logger.LogWarning("Migrating the activity database may take a while, do not stop Jellyfin.");
|
|
|
|
_logger.LogWarning("Migrating the activity database may take a while, do not stop Jellyfin.");
|
|
|
|
using var dbContext = _provider.CreateDbContext();
|
|
|
|
using var dbContext = _provider.CreateDbContext();
|
|
|
|
|
|
|
|
|
|
|
|