using System; namespace Jellyfin.Server.Migrations { /// /// Interface that describes a migration routine. /// internal interface IMigrationRoutine { /// /// Gets the unique id for this migration. This should never be modified after the migration has been created. /// public Guid Id { get; } /// /// Gets the display name of the migration. /// public string Name { get; } /// /// Gets a value indicating whether to perform migration on a new install. /// public bool PerformOnNewInstall { get; } /// /// Execute the migration routine. /// public void Perform(); } }