Skip to content

Commit

Permalink
Fix - Incorrect sorting in MigrationManager.cs #237
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofPajak committed Feb 8, 2022
1 parent 443b974 commit e808943
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ public IEnumerable<IMigration> GetCurrentMigrations()
return GetAllMigrations()
.Where(x => currentDbVersion.CompareTo(x.Version) >= 0)
.OrderBy(mg => mg.Version.ToString())
.OrderBy(mg => mg.Priority)
.ThenBy(mg => mg.Priority)
.ToList();
}
}
Expand Down

0 comments on commit e808943

Please sign in to comment.