Release v2.0.5
Release v2.0.5
Changelog
Added
- Demo Makefiles — New target
test-mysql-write-sql: same flow astest-mysql(update-bundle + db-reset-mysql) but runsdoctrine:migrations:migrate --write-sql=var/migration_mysql.sqlso the generated MySQL SQL is written to a file without executing. Available indemo/symfony7anddemo/symfony8. - Documentation — BUGREPORT_DUPLICATE_DROP_FK_AND_ON_DELETE.md: resolution of the duplicate DROP FOREIGN KEY and missing ON DELETE issues (fixed in 2.0.4), with code and test references. Linked from README documentation table.
Changed
- CreateTablesService::getDropForeignKeySQL() — DROP FOREIGN KEY SQL is now always emitted in canonical form (no backticks):
ALTER TABLE tablename DROP FOREIGN KEY fkname. The bundle no longer calls the platform’sgetDropForeignKeySQL(), so the same style is used everywhere and duplicate-looking statements (e.g. one line with backticks on the table, another with backticks on the FK) are avoided when Phase 2a output is filtered.
Removed
- CreateTablesService — Removed unused reflection helpers
getDropForeignKeySQLExpectsString()andgetDropForeignKeySQLExpectsTableNameString()(no longer needed after generating DROP FOREIGN KEY in canonical form).
Full Changelog: v2.0.4...v2.0.5