File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,8 @@ for each entity manager.
192192 the connection or entity manager, the default (i.e. ``default ``) is used.
193193
194194 If you use a different name than ``default `` for the default entity manager,
195- you will need to redefine the default entity manager in ``prod `` environment
196- configuration too :
195+ you will need to redefine the default entity manager in the ``prod `` environment
196+ configuration and in the Doctrine migrations configuration (if you use that) :
197197
198198 .. code-block :: yaml
199199
@@ -204,6 +204,13 @@ for each entity manager.
204204
205205 # ...
206206
207+ .. code-block :: yaml
208+
209+ # config/packages/doctrine_migrations.yaml
210+ doctrine_migrations :
211+ # ...
212+ em : ' your default entity manager name'
213+
207214 When working with multiple connections to create your databases:
208215
209216.. code-block :: terminal
You can’t perform that action at this time.
0 commit comments