diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-10 22:45:17 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-03-10 22:45:17 +0100 |
| commit | 6131599e8808a6cdddba8ce0da82107cc662ae1c (patch) | |
| tree | a43499ea871b5770465c0938a2bc20ae923a4d2d /Jellyfin.Server/Migrations/MigrationsFactory.cs | |
| parent | 76957213e601e8f03c9975707d5e0a22b899207b (diff) | |
| parent | 97bca5a9008ba94411c45572e690decc58805b85 (diff) | |
Merge branch 'master' into support-injecting-iconfiguration
Diffstat (limited to 'Jellyfin.Server/Migrations/MigrationsFactory.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/MigrationsFactory.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Jellyfin.Server/Migrations/MigrationsFactory.cs b/Jellyfin.Server/Migrations/MigrationsFactory.cs new file mode 100644 index 000000000..23c1b1ee6 --- /dev/null +++ b/Jellyfin.Server/Migrations/MigrationsFactory.cs @@ -0,0 +1,20 @@ +using System.Collections.Generic; +using MediaBrowser.Common.Configuration; + +namespace Jellyfin.Server.Migrations +{ + /// <summary> + /// A factory that can find a persistent file of the migration configuration, which lists all applied migrations. + /// </summary> + public class MigrationsFactory : IConfigurationFactory + { + /// <inheritdoc/> + public IEnumerable<ConfigurationStore> GetConfigurations() + { + return new[] + { + new MigrationsListStore() + }; + } + } +} |
