File tree 1 file changed +9
-2
lines changed
Filter options
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.
192
192
the connection or entity manager, the default (i.e. ``default ``) is used.
193
193
194
194
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) :
197
197
198
198
.. code-block :: yaml
199
199
@@ -204,6 +204,13 @@ for each entity manager.
204
204
205
205
# ...
206
206
207
+ .. code-block :: yaml
208
+
209
+ # config/packages/doctrine_migrations.yaml
210
+ doctrine_migrations :
211
+ # ...
212
+ em : ' your default entity manager name'
213
+
207
214
When working with multiple connections to create your databases:
208
215
209
216
.. code-block :: terminal
You can’t perform that action at this time.
0 commit comments