mirror of
https://github.com/jellyfin/jellyfin
synced 2024-09-05 23:53:44 +00:00
missed a spot
This commit is contained in:
parent
ba928d872e
commit
4fe641b55d
|
@ -63,8 +63,9 @@ namespace Jellyfin.Server.Migrations.Routines
|
|||
var dataPath = _paths.DataPath;
|
||||
using (var connection = new SqliteConnection($"Filename={Path.Combine(dataPath, DbFilename)}"))
|
||||
{
|
||||
using var userDbConnection = new SqliteConnection($"Filename={Path.Combine(dataPath, "users.db")}");
|
||||
connection.Open();
|
||||
|
||||
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.");
|
||||
using var dbContext = _provider.CreateDbContext();
|
||||
|
|
|
@ -86,6 +86,7 @@ namespace Jellyfin.Server.Migrations.Routines
|
|||
var dbFilePath = Path.Combine(_paths.DataPath, DbFilename);
|
||||
using (var connection = new SqliteConnection($"Filename={dbFilePath}"))
|
||||
{
|
||||
connection.Open();
|
||||
using var dbContext = _provider.CreateDbContext();
|
||||
|
||||
var results = connection.Query("SELECT * FROM userdisplaypreferences");
|
||||
|
|
Loading…
Reference in a new issue