mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Migrations refreshed each time with capped length indexes on MySQL #7522
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maciekpaprocki on GitHub (Jun 18, 2025).
Bug Report
Version
Summary
When running
php bin/console doctrine:migrations:diff --no-interactionindexes are refreshed every time even when just applied. Issue is only happening when specifing index lengthCurrent behavior
Index is added to migration every time i run diff
Expected behavior
It should be only added first time
How to reproduce
It's a pretty barebones project, so probably just adding index with fixed length should do.