diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-11 23:04:47 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-11 23:04:47 +0100 |
| commit | 99bf6edba27c48db6094d1364a7175a0af9158b5 (patch) | |
| tree | 87ea497716c6e92ae9b7e3cfc540256350b05430 /Jellyfin.Server/Migrations/MigrationOptions.cs | |
| parent | d437950ac30ee294ab275362abe711ae3c14ac32 (diff) | |
| parent | 008a76cf4d7f04eee2f0e1b8d135ea835d7ec7e2 (diff) | |
Merge remote-tracking branch 'upstream/master' into support-running-without-web-content
Diffstat (limited to 'Jellyfin.Server/Migrations/MigrationOptions.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/MigrationOptions.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Jellyfin.Server/Migrations/MigrationOptions.cs b/Jellyfin.Server/Migrations/MigrationOptions.cs new file mode 100644 index 000000000..816dd9ee7 --- /dev/null +++ b/Jellyfin.Server/Migrations/MigrationOptions.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; + +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 = new List<(Guid Id, string Name)>(); + } + + /// <summary> + /// Gets the list of applied migration routine names. + /// </summary> + public List<(Guid Id, string Name)> Applied { get; } + } +} |
