Skip to content

Conversation

@bobvandevijver
Copy link
Member

Doctrine caches the found migrations (which is logical), but that breaks when you generate a new migration and then try to run it in the same Application context. This was not shown on the console due to the usage of the NullOutput. By migrating to the existing Script helper we resolve the issue as each invocation now receives it's own Application context without cached migrations.

Fixes #3648

Doctrine caches the found migrations (which is logical), but that breaks
when you generate a new migration and then try to run it in the same
Application context. This was not shown on the console due to the
usage of the NullOutput. By migrating to the existing Script helper
we resolve the issue as each invocation now receives it's own
Application context without cached migrations.
@bobvandevijver bobvandevijver merged commit 2581e02 into main Dec 6, 2025
35 checks passed
@bobvandevijver bobvandevijver deleted the 3648-fix-setup branch December 6, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installing Bolt 6.0.0-beta.1 with SQLite fails

2 participants