jellyfin/Jellyfin.Server/Migrations/MigrationOptions.cs

24 lines
733 B
C#
Raw Normal View History

2020-03-05 18:09:33 +01: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 = System.Array.Empty<string>();
}
#pragma warning disable CA1819 // Properties should not return arrays
/// <summary>
2020-03-07 20:18:45 +01:00
/// Gets or sets the list of applied migration routine names.
2020-03-05 18:09:33 +01:00
/// </summary>
public string[] Applied { get; set; }
#pragma warning restore CA1819 // Properties should not return arrays
}
}