jellyfin/Jellyfin.Server/Migrations/MigrationOptions.cs

25 lines
655 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2020-03-05 12:09:33 -05:00
namespace Jellyfin.Server.Migrations
{
/// <summary>
/// Configuration part that holds all migrations that were applied.
/// </summary>
public class MigrationOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="MigrationOptions"/> class.
/// </summary>
public MigrationOptions()
{
Applied = new List<(Guid Id, string Name)>();
2020-03-05 12:09:33 -05:00
}
/// <summary>
/// Gets the list of applied migration routine names.
2020-03-05 12:09:33 -05:00
/// </summary>
public List<(Guid Id, string Name)> Applied { get; }
2020-03-05 12:09:33 -05:00
}
}