GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
The migrations broke for some reason, it seemed it may (or may not) have been caused by running an empty diff task but now when I call to migrate it comes up with the error:
No statement was executed. The version was not updated.
PHP Fatal error: Call to undefined method Propel\Generator\Manager\MigrationManager::getMigrationDir()
If I try to call migration:diff again, logically it says that the uncommitted migrations need to be executed or deleted before rerunning the diff task. Not sure how to delete uncommitted migrations though, if that's going to help the problem.
Just figured I had to delete the migration in "generate-migrations" folder.
A bit frustrating that an empty 'diff' task seems to create this error.
@nathanhiberdive thanks for reporting. might you add a proper stacktrace for this error?