Skip to content

Commit e884441

Browse files
committed
add filter for build_status = true when migrating archive indexes
1 parent b462377 commit e884441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/storage/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,8 @@ pub fn migrate_old_archive_indexes(
631631
crates
632632
INNER JOIN releases ON releases.crate_id = crates.id
633633
WHERE
634-
releases.archive_storage = true
634+
releases.archive_storage = true AND
635+
releases.build_status = true
635636
",
636637
iter::empty::<String>(),
637638
)?

0 commit comments

Comments
 (0)