You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
795 B
28 lines
795 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
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)>();
|
|
}
|
|
|
|
// .Net xml serializer can't handle interfaces
|
|
#pragma warning disable CA1002 // Do not expose generic lists
|
|
/// <summary>
|
|
/// Gets the list of applied migration routine names.
|
|
/// </summary>
|
|
public List<(Guid Id, string Name)> Applied { get; }
|
|
#pragma warning restore CA1002
|
|
}
|
|
}
|