mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
72bf920291
Also use a list instead of an array to store executed migrations in the configuration class
25 lines
619 B
C#
25 lines
619 B
C#
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>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the list of applied migration routine names.
|
|
/// </summary>
|
|
public List<Guid> Applied { get; }
|
|
}
|
|
}
|