2020-03-05 10:09:33 -07:00
|
|
|
using MediaBrowser.Common.Configuration;
|
|
|
|
|
|
|
|
namespace Jellyfin.Server.Migrations
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A configuration that lists all the migration routines that were applied.
|
|
|
|
/// </summary>
|
|
|
|
public class MigrationsListStore : ConfigurationStore
|
|
|
|
{
|
2020-03-05 10:37:49 -07:00
|
|
|
/// <summary>
|
|
|
|
/// The name of the configuration in the storage.
|
|
|
|
/// </summary>
|
|
|
|
public static readonly string StoreKey = "migrations";
|
|
|
|
|
2020-03-05 10:09:33 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="MigrationsListStore"/> class.
|
|
|
|
/// </summary>
|
|
|
|
public MigrationsListStore()
|
|
|
|
{
|
|
|
|
ConfigurationType = typeof(MigrationOptions);
|
2020-03-05 10:37:49 -07:00
|
|
|
Key = StoreKey;
|
2020-03-05 10:09:33 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|