Manual Down-Migration vs. Version Marking for Failed Upgrade Recovery
When a Doctrine migration fails partially during the up() method, the database schema may enter an inconsistent state where some DDL changes are applied but the version is not recorded in the migration_versions table. Recovering the environment requires aligning the physical schema with the migration metadata. Two primary strategies exist for this recovery i