using System;
using Microsoft.Extensions.Logging;
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; }
///
/// Execute the migration routine.
///
/// Host that hosts current version.
/// Host logger.
public void Perform(CoreAppHost host, ILogger logger);
}
}