Skip to content

Commit 5edb0c6

Browse files
committed
database: Add index on crate_downloads table
1 parent a35bfa9 commit 5edb0c6

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
drop index concurrently crate_downloads_downloads_crate_id_index;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
run_in_transaction = false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
create index concurrently if not exists crate_downloads_downloads_crate_id_index
2+
on crate_downloads (downloads desc, crate_id desc);

0 commit comments

Comments
 (0)