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 non-nullable columns in MySQL migration for Spring Batch 4.3 #4145

Closed
wants to merge 1 commit into from

Conversation

hpoettker
Copy link
Contributor

The database migration for MySQL to Spring Batch 4.3 currently misses NOT NULL constraints from BATCH_JOB_EXECUTION.CREATE_TIME and BATCH_STEP_EXECUTION.START_TIME.

If the current migration is applied to a Spring Batch database < 4.3, it effectively removes the existing NOT NULL constraints although they are still contained in schema-mysql.sql.

@fmbenhassine fmbenhassine added pr-for: bug in: core for: backport-to-4.3.x Issues that will be back-ported to the 4.3.x line labels Jul 20, 2022
@fmbenhassine fmbenhassine added this to the 5.0.0-M5 milestone Jul 20, 2022
@fmbenhassine
Copy link
Contributor

LGTM. Rebased and merged as 6bbd9d8. Thank you for your contribution!

@hpoettker hpoettker deleted the non-null-columns branch August 24, 2022 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: backport-to-4.3.x Issues that will be back-ported to the 4.3.x line in: core pr-for: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants