mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Create jsor_doctrine_postgis.yaml
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
Jsor\Doctrine\PostGIS\Event\ORMSchemaEventSubscriber:
|
||||
tags: [{ name: doctrine.event_subscriber, connection: default }]
|
||||
|
||||
doctrine:
|
||||
dbal:
|
||||
mapping_types:
|
||||
_text: string
|
||||
types:
|
||||
geometry: 'Jsor\Doctrine\PostGIS\Types\GeometryType'
|
||||
orm:
|
||||
dql:
|
||||
string_functions:
|
||||
ST_AsGeoJSON: 'Jsor\Doctrine\PostGIS\Functions\ST_AsGeoJSON'
|
||||
ST_GeomFromGeoJSON: 'Jsor\Doctrine\PostGIS\Functions\ST_GeomFromGeoJSON'
|
||||
Reference in New Issue
Block a user