Skip to content

Commit

Permalink
archive index migration: sort by crate & release to have a predicable…
Browse files Browse the repository at this point in the history
… order
  • Loading branch information
syphar committed Aug 1, 2023
1 parent cf8ae16 commit 248be66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,10 @@ pub fn migrate_old_archive_indexes(
WHERE
releases.archive_storage = true AND
releases.build_status = true
ORDER BY
crates.name,
releases.id
",
iter::empty::<String>(),
)?
Expand Down

0 comments on commit 248be66

Please sign in to comment.