-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
“Unknown database type point requested” on schema update #176
Comments
run into same problem! |
same problem I detected. |
same here. Any news? |
It´s work for me
|
As @alejandrososa sated, I had to declare the mapping type to get rid of this problem
|
We had a smilar problem with Symfony 4.1.1 and doctrine/orm 2.6.1 We installed this bundle in order to use the But generating Doctrine migration triggered the following error:
We had similar errors so we had to declare other types: doctrine:
dbal:
# configure these for your database server
driver: 'pdo_pgsql'
server_version: '9.4'
# With Symfony 3.3, remove the `resolve:` prefix
url: '%env(resolve:DATABASE_URL)%'
types:
geometry: CrEOF\Spatial\DBAL\Types\GeometryType
point: CrEOF\Spatial\DBAL\Types\Geometry\PointType
geography: CrEOF\Spatial\DBAL\Types\GeographyType
mapping_types:
_text: string # see https://groups.google.com/d/msg/doctrine-user/1F6M3NHmwak/bcpJD4DXxzIJ
orm:
auto_generate_proxy_classes: '%kernel.debug%'
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
mappings:
# … And it worked for us. |
I have the following setup in a Symfony 3.3 app:
This works as expected, creating the following table:
However, when I run a
php bin/console doctrine:schema:update
I get the following exception:Any ideas what to try?
The text was updated successfully, but these errors were encountered: