gnu-social/config/packages/doctrine.yaml
Hugo Sales cc72373e3d
[DOCTRINE][SCHEMADEF] Create a new metadata driver to allow us to continue using static schemaDef functions
This has the benefit of requiring fewer code changes, as well as providing a better isolation
between GNU social and symfony, useful in case the framework needs to be changed
2021-09-14 13:01:34 +01:00

17 lines
601 B
YAML

doctrine:
dbal:
# TODO In case of special URL characters, this needs to be handled differently
url: '%env(resolve:DATABASE_URL)%'
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true
# Defined in the compiler pass to use SchemaDefDriver
# mappings:
# App:
# is_bundle: false
# type: staticphp
# dir: '%kernel.project_dir%/src/Entity'
# prefix: 'App\Entity'
# alias: App