Closed
Description
Bug description
The Postgresql migration script to 5.0 contains invalid SQL.
Environment
I faced a postgresql migration bug between spring batch 4.3.7 and 5.0.0. I needed to use liquibase to populate my database, only the liquibase user being able to alter the schema.
Steps to reproduce
- With spring-batch 4.3.7, make liquibase create the spring batch tables by referencing the postgresql sql file provided by spring-batch-core 4.3.7
- Update to spring-batch 5.0.0, make liquibase update the spring batch tables by referencing the postgresql 5.0 migration script.
Expected behavior
The schema migration is done without errors.
Minimal Complete Reproducible example
An explanation of the bug, an integration test, and a fix proposition are provided in this repository:
https://github.com/AlbericMartel/spring-batch-migration-4-to-5