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.
19 lines
403 B
19 lines
403 B
using Recyclarr.Migration;
|
|
|
|
namespace Recyclarr.Command.Initialization.Init;
|
|
|
|
internal class CheckMigrationNeeded : IServiceInitializer
|
|
{
|
|
private readonly IMigrationExecutor _migration;
|
|
|
|
public CheckMigrationNeeded(IMigrationExecutor migration)
|
|
{
|
|
_migration = migration;
|
|
}
|
|
|
|
public void Initialize(ServiceCommand cmd)
|
|
{
|
|
_migration.CheckNeededMigrations();
|
|
}
|
|
}
|