aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/MigrationsListStore.cs
blob: 7a1ca66714167af2bbc764b8b3ed53cb4847bfb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
    {
        /// <summary>
        /// The name of the configuration in the storage.
        /// </summary>
        public static readonly string StoreKey = "migrations";

        /// <summary>
        /// Initializes a new instance of the <see cref="MigrationsListStore"/> class.
        /// </summary>
        public MigrationsListStore()
        {
            ConfigurationType = typeof(MigrationOptions);
            Key = StoreKey;
        }
    }
}