using System;
using Microsoft.Extensions.Logging;
namespace Jellyfin.Server.Migrations
{
///
/// Interface that descibes a migration routine.
///
internal interface IUpdater
{
///
/// Gets the name of the migration, must be unique.
///
public abstract string Name { get; }
///
/// Execute the migration routine.
///
/// Host that hosts current version.
/// Host logger.
public abstract void Perform(CoreAppHost host, ILogger logger);
}
}