aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/DbConfiguration/DatabaseConfigurationStore.cs
blob: 180561fc84eab1bf2d989cb0f765879a80a30784 (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
25
using System;
using System.Collections.Generic;
using MediaBrowser.Common.Configuration;

namespace Jellyfin.Server.Implementations.DatabaseConfiguration;

/// <summary>
/// A configuration that stores database related settings.
/// </summary>
public class DatabaseConfigurationStore : ConfigurationStore
{
    /// <summary>
    /// The name of the configuration in the storage.
    /// </summary>
    public const string StoreKey = "database";

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