-
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
Bug/duplicate users #195
Merged
Merged
Bug/duplicate users #195
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DB migration to remove dupes, add unique constraint on identityId and idp columns
TimCsaky
force-pushed
the
bug/duplicate-users
branch
from
August 11, 2023 20:47
36874bf
to
8722ca5
Compare
jujaga
reviewed
Aug 11, 2023
app/src/db/migrations/20230810000000_009-user-identity-constraint.js
Outdated
Show resolved
Hide resolved
app/src/db/migrations/20230810000000_009-user-identity-constraint.js
Outdated
Show resolved
Hide resolved
conflict behaviour changed with simpler sql queries wrapped whole login process in db transaction
TimCsaky
force-pushed
the
bug/duplicate-users
branch
from
August 11, 2023 22:07
8722ca5
to
e66be84
Compare
Code Climate has analyzed commit 03030b1 and detected 3 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 90.4% (50% is the threshold). This pull request will bring the total coverage in the repository to 58.6% (0.1% change). View more on Code Climate. |
jujaga
approved these changes
Aug 11, 2023
TimCsaky
force-pushed
the
bug/duplicate-users
branch
from
August 11, 2023 23:30
ed46b29
to
03030b1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
DB migration to remove dupes, add unique constraint on identityId and idp columns
conflict behaviour changed with simpler sql queries
wrapped whole login process in db transaction
ticket: https://apps.nrs.gov.bc.ca/int/jira/browse/SHOWCASE-3297
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist