From 49f632119bcc64da4e6369633b762df17d1e10b2 Mon Sep 17 00:00:00 2001 From: Mateusz Zalewski Date: Wed, 3 Jul 2019 10:10:40 +0200 Subject: [PATCH] Make annotations a default mapping file for the "Main" entities --- config/packages/doctrine.yaml | 4 ++-- src/Resources/config/doctrine/.gitignore | 0 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 src/Resources/config/doctrine/.gitignore diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 31fcec0cf5..ed30989981 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -18,8 +18,8 @@ doctrine: mappings: App: is_bundle: false - type: yml - dir: '%kernel.project_dir%/src/Resources/config/doctrine' + type: annotation + dir: '%kernel.project_dir%/src/Entity/Main' prefix: 'App\Entity\Main' alias: App SyliusAddressing: diff --git a/src/Resources/config/doctrine/.gitignore b/src/Resources/config/doctrine/.gitignore deleted file mode 100644 index e69de29bb2..0000000000