diff options
| author | Vasily <just.one.man@yandex.ru> | 2020-03-05 20:09:33 +0300 |
|---|---|---|
| committer | Vasily <just.one.man@yandex.ru> | 2020-03-05 20:09:33 +0300 |
| commit | ecaa7f8014666a474c87481471ce7cda7006165a (patch) | |
| tree | 71d245a22dec4988029c57db403f8fcd3b5df2b6 /Jellyfin.Server/Migrations/MigrationOptions.cs | |
| parent | 66e11879efcd2a77476ca9704fa938e89776956c (diff) | |
Improve migration logic
Diffstat (limited to 'Jellyfin.Server/Migrations/MigrationOptions.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/MigrationOptions.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Jellyfin.Server/Migrations/MigrationOptions.cs b/Jellyfin.Server/Migrations/MigrationOptions.cs new file mode 100644 index 000000000..b96288cc1 --- /dev/null +++ b/Jellyfin.Server/Migrations/MigrationOptions.cs @@ -0,0 +1,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 he list of applied migration routine names. + /// </summary> + public string[] Applied { get; set; } +#pragma warning restore CA1819 // Properties should not return arrays + } +} |
