-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DMP-4478: (Dev Only) Add Additional index's to the data base #2428
base: master
Are you sure you want to change the base?
Conversation
Need to wait for migration team to give the go ahead before merging this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need an additional underscore in the filename V1_424__
, otherwise the migration will be ignored, and there's a small typo in indxes
. Also you'll need to bump the version number upon rebase as some scripts have been added since this PR was raised.
Links
Change description
Summary of Git Diff
This diff introduces a new SQL migration file that contains several index creation statements for the PostgreSQL database and updates to the
user_account
table, specifically modifying theuser_name
based on specificuser_email_address
values.Highlights
New SQL File Created:
V1_424_additional_indxes.sql
Index Drops and Creations:
event_event_id_is_current_idx
concurrently.request_status_mer_id_idx
onmedia_request
created_ts_med_id_idx
onmedia
event_status_idx
onevent
hearing_date_ctr_id_idx
onhearing
cas_id_mlc_id_idx
onmedia_linked_case
med_id_idx
onmedia_linked_case
source_idx
onmedia_linked_case
court_case_created_ts_idx
oncourt_case
User Account Updates:
user_name
foruser_email_address
systemDETSCleanupArmResponseFilesAutomatedTask@hmcts.net
tosystem_DETSCleanupArmResponseFiles
.user_name
foruser_email_address
systemArmMissingResponseReplayAutomatedTask@hmcts.net
tosystem_ArmMissingResponseReplay
.Does this PR introduce a breaking change? (check one with "x")