MigrationsFactory.cs 552 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. using MediaBrowser.Common.Configuration;
  3. namespace Jellyfin.Server.Migrations
  4. {
  5. /// <summary>
  6. /// A factory that can find a persistent file of the migration configuration, which lists all applied migrations.
  7. /// </summary>
  8. public class MigrationsFactory : IConfigurationFactory
  9. {
  10. /// <inheritdoc/>
  11. public IEnumerable<ConfigurationStore> GetConfigurations()
  12. {
  13. return new[]
  14. {
  15. new MigrationsListStore()
  16. };
  17. }
  18. }
  19. }