MigrationsListStore.cs 713 B

123456789101112131415161718192021222324
  1. using MediaBrowser.Common.Configuration;
  2. namespace Jellyfin.Server.Migrations
  3. {
  4. /// <summary>
  5. /// A configuration that lists all the migration routines that were applied.
  6. /// </summary>
  7. public class MigrationsListStore : ConfigurationStore
  8. {
  9. /// <summary>
  10. /// The name of the configuration in the storage.
  11. /// </summary>
  12. public static readonly string StoreKey = "migrations";
  13. /// <summary>
  14. /// Initializes a new instance of the <see cref="MigrationsListStore"/> class.
  15. /// </summary>
  16. public MigrationsListStore()
  17. {
  18. ConfigurationType = typeof(MigrationOptions);
  19. Key = StoreKey;
  20. }
  21. }
  22. }