developeregrem/fewohbee

Upgrade Doctrine Migrations

developeregrem opened this issue · 1 comments

Due to an update of migrations when performing composer update they added breaking changes which leads to a failed migration execution.
Follow this guide to upgrade to the new version:
https://github.com/doctrine/DoctrineMigrationsBundle/blob/3.0.x/UPGRADE.md

run the following commands to make migrations work again:

composer update
php bin/console doctrine:migrations:execute "DoctrineMigrations\Version20200803113108"
php bin/console doctrine:migrations:version --add --all