-
Notifications
You must be signed in to change notification settings - Fork 9
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
BugFix: Update Migration To Fix Lingering Duplicate Users Issue #1347
Conversation
Openshift URLs for the PR Deployment: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1347 +/- ##
=======================================
Coverage 46.94% 46.94%
=======================================
Files 753 753
Lines 20276 20277 +1
Branches 3114 3114
=======================================
+ Hits 9518 9519 +1
Misses 10180 10180
Partials 578 578 ☔ View full report in Codecov by Sentry. |
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.
Tested locally, looks good
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.
LGTM 🪿
Openshift URLs for the PR Deployment: |
Quality Gate passedIssues Measures |
Links to Jira Tickets
n/a
Description of Changes
Update the existing migration that was meant to fix duplicate user issues, but which left some issues unfixed.
Testing Notes
On a new local build, it should delete all duplicate users (rather than end-date them), and should now correctly prevent duplicate user records from being created.
user_guid
and unique (user_Identifier
+user_identity_source
).Editing Existing Migration
Normally we dont edit existing migrations, but since this is only in Test, and it only touches the system_user table, it was easier to just modify it, and then I'll manually run some queries to account for the differences in Dev and Test (since this migration wont re-run in either of those environments)