opensoft / doctrine-postgres-types

Provide common Doctrine types for Postgres in use at Opensoft
68 stars 25 forks source link

Add mapping_types in Symfony2 Doctrine Config #8

Closed grizzlylab closed 9 years ago

grizzlylab commented 9 years ago

To avoid errors like

[Doctrine\DBAL\DBALException] Unknown database type _text requested, Doctrine\DBAL\Platforms\PostgreSQL92Platform may not support it.

This can happen when executing app/console doctrine:schema:update --force.

richardfullmer commented 9 years ago

Thanks!