Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Fixed a version issue with migration (#1526)

Joseph Milazzobeaa07c7d909
diff --git a/API/Data/MigrateNormalizedEverything.cs b/API/Data/MigrateNormalizedEverything.cs
index b6abdcba7..675620225 100644
--- a/API/Data/MigrateNormalizedEverything.cs
+++ b/API/Data/MigrateNormalizedEverything.cs
@@ -14,9 +14,9 @@ public static class MigrateNormalizedEverything
{
public static async Task Migrate(IUnitOfWork unitOfWork, DataContext dataContext, ILogger<Program> logger)
{
- // if current version is > 0.5.6.3, then we can exit and not perform
+ // if current version is > 0.5.6.5, then we can exit and not perform
var settings = await unitOfWork.SettingsRepository.GetSettingsDtoAsync();
- if (Version.Parse(settings.InstallVersion) > new Version(0, 5, 6, 3))
+ if (Version.Parse(settings.InstallVersion) > new Version(0, 5, 6, 5))
{
return;
}