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 Jul 31, 2023
1 parent 8f6b9e4 commit d58d686
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 d58d686

Please sign in to comment.