MigrationOptions.cs 733 B

1234567891011121314151617181920212223
  1. namespace Jellyfin.Server.Migrations
  2. {
  3. /// <summary>
  4. /// Configuration part that holds all migrations that were applied.
  5. /// </summary>
  6. public class MigrationOptions
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="MigrationOptions"/> class.
  10. /// </summary>
  11. public MigrationOptions()
  12. {
  13. Applied = System.Array.Empty<string>();
  14. }
  15. #pragma warning disable CA1819 // Properties should not return arrays
  16. /// <summary>
  17. /// Gets or sets the list of applied migration routine names.
  18. /// </summary>
  19. public string[] Applied { get; set; }
  20. #pragma warning restore CA1819 // Properties should not return arrays
  21. }
  22. }