File: config/packages/doctrine.yaml

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Ajudaime API  >  config/packages/doctrine.yaml  >  Download  
File: config/packages/doctrine.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ajudaime API
Find people close to the user who needs help
Author: By
Last change:
Date: 3 months ago
Size: 601 bytes
 

Contents

Class file image Download
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: '5.7'
    orm:
        auto_generate_proxy_classes: true
        naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
        auto_mapping: true
        mappings:
            App:
                is_bundle: false
                type: annotation
                dir: '%kernel.project_dir%/src/Entity'
                prefix: 'App\Entity'
                alias: App

For more information send a message to info at phpclasses dot org.