Skip to content

Commit

Permalink
add filter for build_status = true when migrating archive indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Jul 31, 2023
1 parent 4541146 commit 7684e8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ pub fn migrate_old_archive_indexes(
crates
INNER JOIN releases ON releases.crate_id = crates.id
WHERE
releases.archive_storage = true
releases.archive_storage = true AND
releases.build_status = true
",
iter::empty::<String>(),
)?
Expand Down

0 comments on commit 7684e8c

Please sign in to comment.