aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/MigrationOptions.cs
blob: 6b7831158fbe1063762619490dcc3cd46b3f3d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Jellyfin.Server.Migrations
{
    /// <summary>
    /// Configuration part that holds all migrations that were applied.
    /// </summary>
    public class MigrationOptions
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MigrationOptions"/> class.
        /// </summary>
        public MigrationOptions()
        {
            Applied = System.Array.Empty<string>();
        }

#pragma warning disable CA1819 // Properties should not return arrays
        /// <summary>
        /// Gets or sets the list of applied migration routine names.
        /// </summary>
        public string[] Applied { get; set; }
#pragma warning restore CA1819 // Properties should not return arrays
    }
}