Skip to content

fix(database): fix enforced schema in flyway migration#24

Merged
etiennej70 merged 3 commits intomainfrom
fix/flyway-migration
Apr 13, 2026
Merged

fix(database): fix enforced schema in flyway migration#24
etiennej70 merged 3 commits intomainfrom
fix/flyway-migration

Conversation

@etiennej70
Copy link
Copy Markdown
Collaborator

@etiennej70 etiennej70 commented Apr 10, 2026

PR Description

What this PR Provides

  • Remove enforced schema reference in the migration, preventing custom schema usage and application start-up

Fixes

  • fixes N/A

Review

The reviewer must double-check these points:

  • The reviewer has tested the feature
  • The reviewer has reviewed the implementation of the feature
  • The Pull Request title has a ! after the type/scope to identify the breaking
    change in the release note and ensure we will release a major version.

How to test

  • Create a schema on your PostgreSQL database
  • Change the SPRING_DATASOURCE_HIKARI_SCHEMA and SPRING_FLYWAY_DEFAULT_SCHEMA to the other schema you previously created
  • The application should start

Breaking changes (if any)

  • N/A

Context of the Breaking Change

  • Normally, any modification of existing Flyway Migration is not authorized. But here, if you already performed the migration, you'll not been impacted

Result of the Breaking Change

  • As if you already using the application, and the migration as already been performed, then this modification will not impact you

@etiennej70 etiennej70 changed the title fix(db): fix enforced schema in flyway migration fix(database): fix enforced schema in flyway migration Apr 10, 2026
Signed-off-by: Etienne JACQUOT <2057151+etiennej70@users.noreply.github.com>
Signed-off-by: Etienne JACQUOT <2057151+etiennej70@users.noreply.github.com>
@etiennej70 etiennej70 force-pushed the fix/flyway-migration branch from d44390a to 2c2efab Compare April 13, 2026 07:52
@etiennej70 etiennej70 merged commit 2dd3409 into main Apr 13, 2026
17 checks passed
@etiennej70 etiennej70 deleted the fix/flyway-migration branch April 13, 2026 15:16
RVANDO12 pushed a commit that referenced this pull request Apr 24, 2026
* fix(db): fix enforced schema

Signed-off-by: Etienne JACQUOT <2057151+etiennej70@users.noreply.github.com>

* fix(database): remove remaining schema references

Signed-off-by: Etienne JACQUOT <2057151+etiennej70@users.noreply.github.com>

* fix(database): remove schema from local sample data

---------

Signed-off-by: Etienne JACQUOT <2057151+etiennej70@users.noreply.github.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.

2 participants