Use a Guid to uniquely identify migrations instead of a string name

Also use a list instead of an array to store executed migrations in the configuration class
This commit is contained in:
Mark Monteiro
2020-03-08 16:05:31 +01:00
parent 8dbb1c9257
commit 72bf920291
5 changed files with 22 additions and 13 deletions

View File

@@ -12,6 +12,9 @@ namespace Jellyfin.Server.Migrations.Routines
/// </summary>
internal class DisableTranscodingThrottling : IMigrationRoutine
{
/// <inheritdoc/>
public Guid Id => Guid.Parse("{4124C2CD-E939-4FFB-9BE9-9B311C413638}");
/// <inheritdoc/>
public string Name => "DisableTranscodingThrottling";