|
|
@ -139,11 +139,12 @@ namespace NzbDrone.Core
|
|
|
|
|
|
|
|
|
|
|
|
private static void ForceMigration(IRepository repository)
|
|
|
|
private static void ForceMigration(IRepository repository)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
repository.GetPaged<Series>(0, 1);
|
|
|
|
repository.All<Series>().Count();
|
|
|
|
repository.GetPaged<EpisodeFile>(0, 1);
|
|
|
|
repository.All<Season>().Count();
|
|
|
|
repository.GetPaged<Episode>(0, 1);
|
|
|
|
repository.All<Episode>().Count();
|
|
|
|
repository.GetPaged<Season>(0, 1);
|
|
|
|
repository.All<EpisodeFile>().Count();
|
|
|
|
repository.GetPaged<History>(0, 1);
|
|
|
|
repository.All<QualityProfile>().Count();
|
|
|
|
|
|
|
|
repository.All<History>().Count();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|