From ffb7c72abcdc74f70e47ec7132382047dd11923f Mon Sep 17 00:00:00 2001 From: Archangel Date: Tue, 5 Aug 2025 04:15:56 +0200 Subject: [PATCH] Re-add summary to sort method --- .../Extensions/ProfileMigratorExtensions.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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();