mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
21 lines
552 B
C#
21 lines
552 B
C#
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()
|
|
};
|
|
}
|
|
}
|
|
}
|