Skip to content

Commit bd66f01

Browse files
committed
fix ordering in archive-index fixing command
1 parent a0b0756 commit bd66f01

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.sqlx/query-79ea7db0f92c01d358679d0ea4e936b8d4645f6265126aff46a3b5c9cabba64b.json renamed to .sqlx/query-72a4b5a8e046a7196d7f27baad5ed82e22ad7b5333749fae4c75e0b8e1066e7f.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bin/cratesfyi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ impl DatabaseSubcommand {
583583
"
584584
SELECT c.name, r.version, r.release_time
585585
FROM crates c, releases r
586-
WHERE c.id = r.crate_id
587-
ORDER BY r.id
586+
WHERE c.id = r.crate_id AND r.release_time IS NOT NULL
587+
ORDER BY r.release_time DESC
588588
"
589589
)
590590
.fetch(&mut *conn);

0 commit comments

Comments
 (0)