doctrine:migrations:diff Generate a migration by comparing your current database to your mapping information.
doctrine:migrations:diff
is one is the same new migration. And then, of course, the script doctrine:migrations:migrate
throws error that the field is already there. For the first migration was the insert fields, and the second is insert.doctrine_migrations:
dir_name: '%kernel.project_dir%/src/Migrations'
# namespace is arbitrary but should be different from App\Migrations
# as migrations classes should NOT be autoloaded
namespace: App\Migrations
namespace: DoctrineMigrations\Infrastructure\Migrations
Find more questions by tags Doctrine ORM