2020-03-05 12:09:33 -05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using MediaBrowser.Common.Configuration;
|
|
|
|
|
|
|
|
namespace Jellyfin.Server.Migrations
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-03-07 14:18:45 -05:00
|
|
|
/// A factory that can find a persistent file of the migration configuration, which lists all applied migrations.
|
2020-03-05 12:09:33 -05:00
|
|
|
/// </summary>
|
|
|
|
public class MigrationsFactory : IConfigurationFactory
|
|
|
|
{
|
|
|
|
/// <inheritdoc/>
|
|
|
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|
|
|
{
|
|
|
|
return new[]
|
|
|
|
{
|
|
|
|
new MigrationsListStore()
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|