Skip to content

Commit 6ada489

Browse files
committed
removed index on error.aid as previous PR added it
1 parent 859355f commit 6ada489

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

database/src/pool/postgres.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -415,12 +415,6 @@ static MIGRATIONS: &[&str] = &[
415415
r#"
416416
CREATE INDEX IF NOT EXISTS benchmark_request_completed_idx ON benchmark_request(completed_at);
417417
"#,
418-
// Artifacts table grows massively and we do a join on artifacts.id = error.aid.
419-
// Thus error.aid needs an index to filter errors for an artifact without
420-
// a full table scan
421-
r#"
422-
CREATE INDEX IF NOT EXISTS error_aid_idx ON error(aid);
423-
"#,
424418
];
425419

426420
#[async_trait::async_trait]

0 commit comments

Comments
 (0)