I am building an application using Symfony2 + Doctrine2. My application needs to store geospatial data, so I wrote the correct doctrine extensions. Everything works very well and the application has been running in a production environment for a long time.
Now I need to add some new features, and I need to update the database without deleting all the data. I started using DoctrineMigrationBundle, but when I ran:
$ php app/console doctrine:migrations:status
I got this error:
[Doctrine\DBAL\DBALException] Unknown database type point requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.
This is the relevant section of my config.yml:
The user type 'point' has been mapped, so what am I doing wrong?
source share