-
Notifications
You must be signed in to change notification settings - Fork 23
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
schemawatch: Improved PK query. #103
Conversation
This change makes the schema query work properly in cases where the primary key constraint isn't named "primary". It also adds some additional test cases to ensure that the revised query works correctly when there are secondary indexes on the table.
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
==========================================
+ Coverage 67.77% 68.00% +0.23%
==========================================
Files 40 40
Lines 2557 2557
==========================================
+ Hits 1733 1739 +6
+ Misses 673 668 -5
+ Partials 151 150 -1
Continue to review full report at Codecov.
|
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.
Reviewed 2 of 2 files at r1.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @BramGruneir)
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.
approved.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @BramGruneir)
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.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @bobvawter)
This change makes the schema query work properly in cases where the primary key
constraint isn't named "primary". It also adds some additional test cases to
ensure that the revised query works correctly when there are secondary indexes
on the table.
This change is