Skip to content

Release v2.0.5

Choose a tag to compare

@github-actions github-actions released this 27 Feb 16:41
· 102 commits to master since this release

Release v2.0.5

Changelog

Added

  • Demo Makefiles — New target test-mysql-write-sql: same flow as test-mysql (update-bundle + db-reset-mysql) but runs doctrine:migrations:migrate --write-sql=var/migration_mysql.sql so the generated MySQL SQL is written to a file without executing. Available in demo/symfony7 and demo/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’s getDropForeignKeySQL(), 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() and getDropForeignKeySQLExpectsTableNameString() (no longer needed after generating DROP FOREIGN KEY in canonical form).

Full Changelog: v2.0.4...v2.0.5