-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
status: waiting-for-reporterIssues for which we are waiting for feedback from the reporterIssues for which we are waiting for feedback from the reporter
Description
I understand that spring.batch.jdbc.initialize-schema provides the ability for Spring Batch to manage DB schema. However, my project already uses Flyway. Spring Boot recommends disabling other migrations when using Flyway (or Liquidbase). I do see that the spring.batch.jdbc.schema refers to the migration scripts in core. However, these files are very old (2+ years). I also see some newer files in the migration directory. I've a few questions/requests:
- What is the best way to migrate schema when using a higher-level migration tool like Flyway? It appears the either documentation or implementation is conflicting.
- If the answer is that Flyway should be manage, then what is the single source of truth for the schema that I can use in my Flyway migration script? Can this be maintained and released alongside releases so people can migrate DBs with newer versions of Batch?
prafsoni
Metadata
Metadata
Assignees
Labels
status: waiting-for-reporterIssues for which we are waiting for feedback from the reporterIssues for which we are waiting for feedback from the reporter