mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Fixed a version issue with migration (#1526)
This commit is contained in:
parent
8a73c2a5d4
commit
beaa07c7d9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user