DatabaseConfigurationOptions.cs 521 B

12345678910111213141516171819
  1. using System;
  2. namespace Jellyfin.Server.Implementations.DatabaseConfiguration;
  3. /// <summary>
  4. /// Options to configure jellyfins managed database.
  5. /// </summary>
  6. public class DatabaseConfigurationOptions
  7. {
  8. /// <summary>
  9. /// Gets or Sets the type of database jellyfin should use.
  10. /// </summary>
  11. public required string DatabaseType { get; set; }
  12. /// <summary>
  13. /// Gets or Sets the settings to run jellyfin with Postgres.
  14. /// </summary>
  15. public PostgreSqlOptions? PostgreSql { get; set; }
  16. }