]> Raphaƫl G. Git Repositories - airlibre/blobdiff - config/packages/doctrine.yaml
Comment out doctrine orm mappings and controller resolver auto mapping
[airlibre] / config / packages / doctrine.yaml
index 856c2b07dbba2b60543e3e854c9a0d85a10c83da..eb78d2b42a1066d7ee95efe4b840b61a6b977545 100644 (file)
@@ -8,12 +8,6 @@ doctrine:
 
         profiling_collect_backtrace: '%kernel.debug%'
         use_savepoints: true
-
-        # only needed for MySQL
-        charset: 'utf8mb4'
-        default_table_options:
-            collate: 'utf8mb4_unicode_ci'
-
     orm:
         auto_generate_proxy_classes: true
         enable_lazy_ghost_objects: true
@@ -21,6 +15,15 @@ doctrine:
         validate_xml_mapping: true
         naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
         auto_mapping: true
+#        mappings:
+#            App:
+#                type: attribute
+#                is_bundle: false
+#                dir: '%kernel.project_dir%/src/Entity'
+#                prefix: 'App\Entity'
+#                alias: App
+#        controller_resolver:
+#            auto_mapping: true
 
 when@test:
     doctrine: