From 0c5a317b2007a9e5b454e12cd29309fd5699ff5a Mon Sep 17 00:00:00 2001 From: Derek Horton Date: Mon, 19 Feb 2024 15:08:50 -0600 Subject: [PATCH] Remove newly added index as its causing issues in prod --- migrations/014_add-index-labels-playbook-run.down.sql | 1 + migrations/014_add-index-labels-playbook-run.up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 migrations/014_add-index-labels-playbook-run.down.sql create mode 100644 migrations/014_add-index-labels-playbook-run.up.sql diff --git a/migrations/014_add-index-labels-playbook-run.down.sql b/migrations/014_add-index-labels-playbook-run.down.sql new file mode 100644 index 00000000..1b569a96 --- /dev/null +++ b/migrations/014_add-index-labels-playbook-run.down.sql @@ -0,0 +1 @@ +CREATE INDEX runs_btree_labels_playbook_run_index ON runs USING btree((labels->>'playbook-run')); diff --git a/migrations/014_add-index-labels-playbook-run.up.sql b/migrations/014_add-index-labels-playbook-run.up.sql new file mode 100644 index 00000000..b201ccd1 --- /dev/null +++ b/migrations/014_add-index-labels-playbook-run.up.sql @@ -0,0 +1 @@ +DROP INDEX runs_btree_labels_playbook_run_index;