MigrationOptions.cs 655 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Jellyfin.Server.Migrations
  4. {
  5. /// <summary>
  6. /// Configuration part that holds all migrations that were applied.
  7. /// </summary>
  8. public class MigrationOptions
  9. {
  10. /// <summary>
  11. /// Initializes a new instance of the <see cref="MigrationOptions"/> class.
  12. /// </summary>
  13. public MigrationOptions()
  14. {
  15. Applied = new List<(Guid Id, string Name)>();
  16. }
  17. /// <summary>
  18. /// Gets the list of applied migration routine names.
  19. /// </summary>
  20. public List<(Guid Id, string Name)> Applied { get; }
  21. }
  22. }