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
Fix unique constraint and primary key generator issues for Postgres and H2 #5555
Conversation
…the "using index" clause for the h2 database Signed-off-by: Guschtel <github@guschtel.de>
Hi @Guschtel, Code changes look good to me. The only thing I would ask is whether it's possible to instead of creating a Java class for tests we do it as a groovy test class. For new test suites, we tried to use that language. Test would look like:
Thanks, |
Signed-off-by: Guschtel <github@guschtel.de>
Allows forIndexName on Postgresql Databases for AddUniqueConstraint and AddPrimaryKey Signed-off-by: Guschtel <github@guschtel.de>
@MalloD12 have a look again, I tried to change the tests to Spock tests. First time using Spock, so please be kind if there's room to improve. :D I Also added the changes from #1384 and testcases for that. |
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.
Code changes look good to me. Thank you @Guschtel for submitting this PR to fix two issues. Also, thank you for changing the tests format and use Spock (Groovy).
Build and most of the tests have been successfully executed (except functional test which seems to be failing for a non-related reason).
Thanks,
Daniel.
…the "using index" clause for the h2 database
Impact
Description
Fixes #5410
Fixes #1384
Things to be aware of
Things to worry about
Additional Context