mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Fix user DB migration
This commit is contained in:
parent
2ee3e9e00f
commit
65665de660
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Emby.Server.Implementations.Data;
|
using Emby.Server.Implementations.Data;
|
||||||
using Emby.Server.Implementations.Serialization;
|
|
||||||
using Jellyfin.Data.Entities;
|
using Jellyfin.Data.Entities;
|
||||||
using Jellyfin.Data.Enums;
|
using Jellyfin.Data.Enums;
|
||||||
using Jellyfin.Extensions.Json;
|
using Jellyfin.Extensions.Json;
|
||||||
@ -10,6 +9,7 @@ using Jellyfin.Server.Implementations.Users;
|
|||||||
using MediaBrowser.Controller;
|
using MediaBrowser.Controller;
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
using MediaBrowser.Model.Configuration;
|
using MediaBrowser.Model.Configuration;
|
||||||
|
using MediaBrowser.Model.Serialization;
|
||||||
using MediaBrowser.Model.Users;
|
using MediaBrowser.Model.Users;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using SQLitePCL.pretty;
|
using SQLitePCL.pretty;
|
||||||
@ -27,7 +27,7 @@ namespace Jellyfin.Server.Migrations.Routines
|
|||||||
private readonly ILogger<MigrateUserDb> _logger;
|
private readonly ILogger<MigrateUserDb> _logger;
|
||||||
private readonly IServerApplicationPaths _paths;
|
private readonly IServerApplicationPaths _paths;
|
||||||
private readonly JellyfinDbProvider _provider;
|
private readonly JellyfinDbProvider _provider;
|
||||||
private readonly MyXmlSerializer _xmlSerializer;
|
private readonly IXmlSerializer _xmlSerializer;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="MigrateUserDb"/> class.
|
/// Initializes a new instance of the <see cref="MigrateUserDb"/> class.
|
||||||
@ -40,7 +40,7 @@ namespace Jellyfin.Server.Migrations.Routines
|
|||||||
ILogger<MigrateUserDb> logger,
|
ILogger<MigrateUserDb> logger,
|
||||||
IServerApplicationPaths paths,
|
IServerApplicationPaths paths,
|
||||||
JellyfinDbProvider provider,
|
JellyfinDbProvider provider,
|
||||||
MyXmlSerializer xmlSerializer)
|
IXmlSerializer xmlSerializer)
|
||||||
{
|
{
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_paths = paths;
|
_paths = paths;
|
||||||
|
Loading…
Reference in New Issue
Block a user