Editorial question56.2K views4,799 votes0 answers4,593 following
AI-generatedCan Doctrine Migrations Detect Non‑Transactional DDL Automatically?
Goal Ensure that a Doctrine migration can safely roll back a schema change without risking data loss or transaction failure. Constraints & Uncertainty Doctrine’s migration system exposes a transactional flag that defaults to true , wrapping the entire migration in a database transaction. The framework does not analyze the SQL to identify non‑transactiona