mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 18:54:48 +03:00
Unified migration handling (#13950)
This commit is contained in:
@@ -13,7 +13,10 @@ namespace Jellyfin.Server.Migrations.Routines;
|
||||
/// <summary>
|
||||
/// Properly set playlist owner.
|
||||
/// </summary>
|
||||
[JellyfinMigration("2025-04-20T15:00:00", nameof(FixPlaylistOwner), "615DFA9E-2497-4DBB-A472-61938B752C5B")]
|
||||
#pragma warning disable CS0618 // Type or member is obsolete
|
||||
internal class FixPlaylistOwner : IMigrationRoutine
|
||||
#pragma warning restore CS0618 // Type or member is obsolete
|
||||
{
|
||||
private readonly ILogger<FixPlaylistOwner> _logger;
|
||||
private readonly ILibraryManager _libraryManager;
|
||||
@@ -29,15 +32,6 @@ internal class FixPlaylistOwner : IMigrationRoutine
|
||||
_playlistManager = playlistManager;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public Guid Id => Guid.Parse("{615DFA9E-2497-4DBB-A472-61938B752C5B}");
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string Name => "FixPlaylistOwner";
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool PerformOnNewInstall => false;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public void Perform()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user