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.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Fixed a version issue with migration (#1526)
Joseph Milazzobeaa07c7d909
diff --git a/API/Data/MigrateNormalizedEverything.cs b/API/Data/MigrateNormalizedEverything.csindex 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 performvar 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;}