You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
655 B
24 lines
655 B
using System;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace Jellyfin.Server.Migrations
|
|
{
|
|
/// <summary>
|
|
/// Interface that describes a migration routine.
|
|
/// </summary>
|
|
internal interface IMigrationRoutine
|
|
{
|
|
/// <summary>
|
|
/// Gets the name of the migration, must be unique.
|
|
/// </summary>
|
|
public string Name { get; }
|
|
|
|
/// <summary>
|
|
/// Execute the migration routine.
|
|
/// </summary>
|
|
/// <param name="host">Host that hosts current version.</param>
|
|
/// <param name="logger">Host logger.</param>
|
|
public void Perform(CoreAppHost host, ILogger logger);
|
|
}
|
|
}
|