Fixed a version issue with migration (#1526)

This commit is contained in:
Joseph Milazzo 2022-09-13 19:36:38 -05:00 committed by GitHub
parent 8a73c2a5d4
commit beaa07c7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}