Skip to content

Commit b9fd346

Browse files
committed
PR Feedback; remove IF NOT EXISTS from index creation
1 parent 6ada489 commit b9fd346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/src/pool/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ static MIGRATIONS: &[&str] = &[
413413
// For completed requests we take the last N completed. As the total number
414414
// of requests grows to make things fast we need an index on the completed_at
415415
r#"
416-
CREATE INDEX IF NOT EXISTS benchmark_request_completed_idx ON benchmark_request(completed_at);
416+
CREATE INDEX benchmark_request_completed_idx ON benchmark_request(completed_at);
417417
"#,
418418
];
419419

0 commit comments

Comments
 (0)