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.
|
|
|
using System.Collections.Generic;
|
|
|
|
using MediaBrowser.Common.Configuration;
|
|
|
|
|
|
|
|
namespace Jellyfin.Server.Migrations
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A factory that can find a persistent file of the migration configuration, which lists all applied migrations.
|
|
|
|
/// </summary>
|
|
|
|
public class MigrationsFactory : IConfigurationFactory
|
|
|
|
{
|
|
|
|
/// <inheritdoc/>
|
|
|
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|
|
|
{
|
|
|
|
return new[]
|
|
|
|
{
|
|
|
|
new MigrationsListStore()
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|