Skip to content

Commit

Permalink
BFD-3163: psql flyway script to create MBI_NUM indexes (#2129)
Browse files Browse the repository at this point in the history
  • Loading branch information
mackec1 authored Jan 8, 2024
1 parent 8d131a8 commit 169dfad
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- BFD-3163
-- Create index on MBI_NUM to support lookup using us-mbi lookup. The MBI lookup
-- needs to check both the current beneficiaries table as well as the
-- beneficiaries_history table.
--
CREATE INDEX CONCURRENTLY IF NOT EXISTS beneficiaries_history_mbi_idx
ON beneficiaries_history (mbi_num);

CREATE INDEX CONCURRENTLY IF NOT EXISTS beneficiaries_mbi_idx
ON beneficiaries (mbi_num);

0 comments on commit 169dfad

Please sign in to comment.