From 85d2ce3e103743695a868a375b901f74ad55e7f2 Mon Sep 17 00:00:00 2001 From: Jason Parraga Date: Wed, 11 Sep 2024 02:55:51 -0700 Subject: [PATCH] Add job submitted index (#3903) Signed-off-by: Jason Parraga Co-authored-by: Chris Martin --- .../lookoutv2/schema/migrations/012_add_job_submitted_index.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 internal/lookoutv2/schema/migrations/012_add_job_submitted_index.sql diff --git a/internal/lookoutv2/schema/migrations/012_add_job_submitted_index.sql b/internal/lookoutv2/schema/migrations/012_add_job_submitted_index.sql new file mode 100644 index 00000000000..c7a4b55b962 --- /dev/null +++ b/internal/lookoutv2/schema/migrations/012_add_job_submitted_index.sql @@ -0,0 +1 @@ +CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_job_submitted ON job (submitted DESC);