DoctrineMigrationsBundle
DoctrineMigrationsBundle copied to clipboard
Include notification of unexecuted migrations when a database exception occurs
Something rails does is notify you when you have un-executed migrations. It might be nice to catch doctrine exceptions that might be due to this (or perhaps all doctrine exceptions) and add a note about executing migrations (if there are non-executed migrations). This would just be a helpful reminder to devs when they see an obscure SQL error about a missing db field to run migrations. Is there a way this bundle could hook into doctrine exceptions in the symfony debug component if it was installed so it could provide more information such as the suggestion to execute migrations?
I would probably do that with a debug toolbar extension.
:+1: @mikeSimonson Great idea - let's add a debug toolbar extension to notify doctrine migration issues: undone migrations, missing migration files