aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/MigrationsFactory.cs
blob: 23c1b1ee6f0ef5ee107437cb267fbd0e4464edb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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()
            };
        }
    }
}