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

Add migration support for jpa repositories (e.g.postgres) #7

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

dennisvang
Copy link
Contributor

@dennisvang dennisvang commented Nov 28, 2024

This PR adds support for PostgreSQL (in addition to the existing MongoDB support).

Also includes rudimentary tests (for the postgres part only)

todo:

  • run tests in github workflow (already taken care of by mvn verify)

fixes #4

- spring boot 2.2.7 to 3.3.5
- maven.compiler 17 to 21
- lombok 1.18.34 to 1.18.36
- javadoc 3.10.1 to 3.11.1
- adapt readme and github workflows accordingly
for consistency with upcoming JpaRdfMigrationRunner
…ionRunner

lots of duplicated code, but this is easiest due to coupling with repository and entity

todo: DRY up
work in progress (test fails)
added support for postgres in a backward compatible manner
actually we made some backward-incompatible changes:
- renamed interface from RdfProductionMigration to Migratable
- renamed RdfMigrationRepository to RdfMigrationMongoRepository (for consistency)
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.

Support for postgresql database
1 participant