diff --git a/Libraries/SPTarkov.Server.Core/Extensions/ProfileMigratorExtensions.cs b/Libraries/SPTarkov.Server.Core/Extensions/ProfileMigratorExtensions.cs index 91a2f34f..4767dce6 100644 --- a/Libraries/SPTarkov.Server.Core/Extensions/ProfileMigratorExtensions.cs +++ b/Libraries/SPTarkov.Server.Core/Extensions/ProfileMigratorExtensions.cs @@ -4,6 +4,12 @@ namespace SPTarkov.Server.Core.Extensions; public static class ProfileMigratorExtensions { + /// + /// Sorts the profile migrations in dependency order, ensuring that each migration appears + /// after all of its prerequisite migrations. + /// + /// The collection of profile migrations to sort. + /// A topologically sorted list of migrations. public static IEnumerable Sort(this IEnumerable profileMigrations) { var sortedMigrations = new List();