fix: add index to provisioner_jobs.started_at (#5245)

This commit is contained in:
Colin Adler
2022-12-01 19:29:15 -06:00
committed by GitHub
parent 92c217bd85
commit 8469dbc045
3 changed files with 5 additions and 0 deletions
@@ -0,0 +1 @@
DROP INDEX provisioner_jobs_started_at_idx;
@@ -0,0 +1,2 @@
CREATE INDEX provisioner_jobs_started_at_idx ON provisioner_jobs USING btree (started_at)
WHERE started_at IS NULL;