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

Fix Liquibase configuration (diff when JPA entities not modified) #54

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Tristan-WorkGH
Copy link
Member

@Tristan-WorkGH Tristan-WorkGH commented Oct 16, 2023

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

No.

What kind of change does this PR introduce?

Update Liquibase configuration.

What is the current behavior?

Liquibase initialize the temp database in "normal" mode, which cause compatibility with Hibernate in PostgreSQL dialect (mainly with column types).

What is the new behavior (if this is a feature change)?
H2 databse is now in PostgreSQL compatibility mode.
Note: DATABASE_TO_LOWER=TRUE wasn't add as recommended in H2 documentation because it create a full changelog because of names going from uppercase to lowercase.

Does this PR introduce a breaking change or deprecate an API? No.

  • The Breaking Change or Deprecated label has been added
  • The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)

Other information:

user-content-spring-boot

Signed-off-by: Tristan Chuine <[email protected]>
Signed-off-by: Tristan Chuine <[email protected]>
Signed-off-by: Tristan Chuine <[email protected]>
Signed-off-by: Tristan Chuine <[email protected]>
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.

2 participants