-1

I have a task to make app with db where one of the columns has json db data type. I already updated maria db to 10.2 but now I have another problem. Doctrine earlier than 2.6 does not recognize json type and in cmd prompt trow error message

Unknown database type json requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it

I am not sure what version is in my symfony/vendor. I try to find out but didn't. Symfony version i 3.3.10. After some reading I understand that I need to update doctrine. How to do that?

some_guy
  • 390
  • 2
  • 14
  • I linked to the question which has extract from Composer doc. If/when you have specific problems with update, ask another question. – svgrafov Oct 24 '17 at 09:47

1 Answers1

0

To know wich version you are using, look in your composer.json. To update it, make a composer updateto have the last version

t-n-y
  • 1,201
  • 2
  • 13
  • 27