Skip to content

Commit 76e0077

Browse files
jeffreydwalter-fix-migration-sort: Remove unnecessary sort
1 parent 80fc253 commit 76e0077

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

migrate/migration.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ func (ms MigrationSlice) LastGroup() *MigrationGroup {
274274
group.Migrations = append(group.Migrations, ms[i])
275275
}
276276
}
277-
// Sort the migrations in the group using the global descending sort function
278-
SafeDescSort(group.Migrations)
277+
279278
return group
280279
}
281280

0 commit comments

Comments
 (0)