Skip to content

Commit 248be66

Browse files
committed
archive index migration: sort by crate & release to have a predicable order
1 parent cf8ae16 commit 248be66

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/storage/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,10 @@ pub fn migrate_old_archive_indexes(
639639
WHERE
640640
releases.archive_storage = true AND
641641
releases.build_status = true
642+
643+
ORDER BY
644+
crates.name,
645+
releases.id
642646
",
643647
iter::empty::<String>(),
644648
)?

0 commit comments

Comments
 (0)