[backend] stabilise codebase
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
doctrine:
|
||||
dbal:
|
||||
url: '%env(resolve:DATABASE_URL)%'
|
||||
|
||||
# IMPORTANT: You MUST configure your server version,
|
||||
# either here or in the DATABASE_URL env var (see .env file)
|
||||
#server_version: '16'
|
||||
server_version: '16'
|
||||
|
||||
profiling_collect_backtrace: '%kernel.debug%'
|
||||
use_savepoints: true
|
||||
mapping_types:
|
||||
geography: string
|
||||
orm:
|
||||
auto_generate_proxy_classes: true
|
||||
enable_lazy_ghost_objects: true
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
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'
|
||||
geography: 'Jsor\Doctrine\PostGIS\Types\GeographyType'
|
||||
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