Skip to content

Commit 10d3324

Browse files
committed
Move doctrine migrations away from src
1 parent d6b9188 commit 10d3324

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
doctrine_migrations:
2-
dir_name: '%kernel.project_dir%/src/Migrations'
2+
dir_name: '%kernel.project_dir%/migrations'
33
# namespace is arbitrary but should be different from App\Migrations
44
# as migrations classes should NOT be autoloaded
55
namespace: DoctrineMigrations

config/services.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
# this creates a service per class whose id is the fully-qualified class name
2424
App\:
2525
resource: '../src/*'
26-
exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
26+
exclude: '../src/{DependencyInjection,Entity,Tests,Kernel.php}'
2727

2828
# controllers are imported separately to make sure services can be injected
2929
# as action arguments even if you don't extend any base controller class
File renamed without changes.

0 commit comments

Comments
 (0)