I am currently using XAMPP/Apache with MariaDB on phpmyadmin. I am trying to create a table based on my code using Doctrine and therefore Annotations for validating a form.
Had the same issue and i found this workaround:
In Doctrine.yaml found out that the server_version was higher than my MariaDB version, so I corrected that in this line:
doctrine:
dbal:
server_version: '5.5'
I did not work until I manually erased the migrations i already did. You can found them in src/Migrations.
Then run again:
php bin/console make:migration
php bin/console doctrine:migrations:migrate
And that did the work, hope it helps.