From e66c76fc3405512b90735b5669278410f7974b1f Mon Sep 17 00:00:00 2001 From: JPVenson Date: Mon, 28 Apr 2025 03:18:08 +0300 Subject: Unified migration handling (#13950) --- .../Migrations/Routines/UpdateDefaultPluginRepository.cs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Jellyfin.Server/Migrations/Routines/UpdateDefaultPluginRepository.cs') diff --git a/Jellyfin.Server/Migrations/Routines/UpdateDefaultPluginRepository.cs b/Jellyfin.Server/Migrations/Routines/UpdateDefaultPluginRepository.cs index 7e8c8ac87..cf3f5433b 100644 --- a/Jellyfin.Server/Migrations/Routines/UpdateDefaultPluginRepository.cs +++ b/Jellyfin.Server/Migrations/Routines/UpdateDefaultPluginRepository.cs @@ -6,7 +6,10 @@ namespace Jellyfin.Server.Migrations.Routines; /// /// Migration to update the default Jellyfin plugin repository. /// +[JellyfinMigration("2025-04-20T17:00:00", nameof(UpdateDefaultPluginRepository), "852816E0-2712-49A9-9240-C6FC5FCAD1A8", RunMigrationOnSetup = true)] +#pragma warning disable CS0618 // Type or member is obsolete public class UpdateDefaultPluginRepository : IMigrationRoutine +#pragma warning restore CS0618 // Type or member is obsolete { private const string NewRepositoryUrl = "https://repo.jellyfin.org/files/plugin/manifest.json"; private const string OldRepositoryUrl = "https://repo.jellyfin.org/releases/plugin/manifest-stable.json"; @@ -22,15 +25,6 @@ public class UpdateDefaultPluginRepository : IMigrationRoutine _serverConfigurationManager = serverConfigurationManager; } - /// - public Guid Id => new("852816E0-2712-49A9-9240-C6FC5FCAD1A8"); - - /// - public string Name => "UpdateDefaultPluginRepository10.9"; - - /// - public bool PerformOnNewInstall => true; - /// public void Perform() { -- cgit v1.2.3