2020-03-08 15:05:31 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2020-03-05 17:09:33 +00: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()
|
|
|
|
{
|
2020-03-08 15:05:31 +00:00
|
|
|
Applied = new List<Guid>();
|
2020-03-05 17:09:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
2020-03-08 15:05:31 +00:00
|
|
|
/// Gets the list of applied migration routine names.
|
2020-03-05 17:09:33 +00:00
|
|
|
/// </summary>
|
2020-03-08 15:05:31 +00:00
|
|
|
public List<Guid> Applied { get; }
|
2020-03-05 17:09:33 +00:00
|
|
|
}
|
|
|
|
}
|