Skip to content
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

Wrong detection of serial types on columns with multiple constraints #179

Merged
merged 2 commits into from
Sep 24, 2022

Conversation

mfvanek
Copy link
Owner

@mfvanek mfvanek commented Sep 22, 2022

Closes #177

@codecov
Copy link

codecov bot commented Sep 22, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (1ea7dcb) compared to base (808768a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #179   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       682       682           
===========================================
  Files            108       108           
  Lines           1460      1460           
  Branches         113       113           
===========================================
  Hits            1460      1460           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mfvanek mfvanek marked this pull request as ready for review September 24, 2022 19:55
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mfvanek mfvanek merged commit 92cd4d9 into master Sep 24, 2022
@mfvanek mfvanek deleted the bugfix/wrong-detection-when-several-constraints-exist branch September 24, 2022 20:08
Evreke pushed a commit that referenced this pull request Sep 30, 2022
…179)

* Updated sql query

* Added test to cover the issue

Co-authored-by: Ivan Vakhrushev <i.vakhrushev@banki.ru>
mfvanek added a commit that referenced this pull request Oct 16, 2022
* Background primary determiner #121

feat: reference change for connection to primary node by background task
fix: cluster container names must be unique, so they are generated using the uuid
Signed-off-by: Antipin Alexey <evreke@gmail.com>

* Feature/generate migration to remove serial types (#172)

* DbMigrationGenerator was made generic

* Added ColumnWithSerialTypeMigrationGenerator

* Added tests

* Updated deps

* Fixed code smells

Co-authored-by: Ivan Vakhrushev <i.vakhrushev@banki.ru>

* Signing via GPG 2+ (#173)

Co-authored-by: Ivan Vakhrushev <mfvanek@gmail.com>

* Making abstract classes package private (#174)

* Making abstract classes package private

* Fixed code smell

Co-authored-by: Ivan Vakhrushev <i.vakhrushev@banki.ru>

* Release v0.6.2 (#175)

Co-authored-by: Ivan Vakhrushev <i.vakhrushev@banki.ru>

* Prepare for the next development iteration (#176)

Co-authored-by: Ivan Vakhrushev <i.vakhrushev@banki.ru>

* Wrong detection of serial types on columns with multiple constraints (#179)

* Updated sql query

* Added test to cover the issue

Co-authored-by: Ivan Vakhrushev <i.vakhrushev@banki.ru>

* Bump Gradle and dependencies (#180)

Co-authored-by: Ivan Vakhrushev <mfvanek@gmail.com>

* Prepare for the next development iteration (#181)

Co-authored-by: Ivan Vakhrushev <mfvanek@gmail.com>

* Background primary determiner #121

change: resolve comments
Signed-off-by: Antipin Alexey <evreke@gmail.com>

* Background primary determiner #121

change: resolve comments
Signed-off-by: Antipin Alexey <evreke@gmail.com>

* 1) Spotbugs exclusions moved to config. We do not dirty the code with SuppressFBWarnings.
2) Added javadoc to HighAvailabilityPgConnectionImpl
3) Refactored construction methods in HighAvailabilityPgConnectionImpl.
4) Mocked tests moved to HighAvailabilityPgConnectionUnitTest with "fast" tag.
5) ClusterAwareTestBase renamed to PgConnectionAwareCluster
6) Implemented AutoCloseable for all Testcontainers wrappers.
6) Migrated tests to try-with-resources.

* Fixed build on MacOS

* Fixed code smell

* Fixed build on Windows 11

Signed-off-by: Antipin Alexey <evreke@gmail.com>
Co-authored-by: Ivan Vakhrushev <37612014+mfvanek@users.noreply.github.com>
Co-authored-by: Ivan Vakhrushev <i.vakhrushev@banki.ru>
Co-authored-by: Ivan Vakhrushev <mfvanek@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Wrong detection on column that is primary key and also have another constraints
1 participant