Skip to content

Commit

Permalink
Add index failure (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
strug authored Jan 30, 2024
1 parent e75355f commit 4b3e637
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DROP INDEX IF EXISTS payment_data_failure_index;

CREATE INDEX IF NOT EXISTS payment_data_payment_external_failure_by_created_date_idx
ON mst.payment_data USING BTREE (party_id, payment_external_failure, payment_external_failure_reason, payment_created_at)
WHERE payment_external_failure IS NOT NULL or payment_external_failure_reason IS NOT NULL;

0 comments on commit 4b3e637

Please sign in to comment.