File tree 1 file changed +10
-7
lines changed 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -68,22 +68,25 @@ two connections, one for each entity manager.
68
68
explicit about which configuration you want. If you *do * omit the name of
69
69
the connection or entity manager, the default (i.e. ``default ``) is used.
70
70
71
-
72
- When working with multiple connections to create your databases::
71
+ When working with multiple connections to create your databases:
72
+
73
+ .. code-block :: bash
73
74
74
75
# Play only with "default" connection
75
- php app/console doctrine:database:create
76
+ $ php app/console doctrine:database:create
76
77
77
78
# Play only with "customer" connection
78
- php app/console doctrine:database:create --connection=customer
79
+ $ php app/console doctrine:database:create --connection=customer
80
+
81
+ When working with multiple entity managers to update your schema:
79
82
80
- When working with multiple entity managers to update your schema::
83
+ .. code-block :: bash
81
84
82
85
# Play only with "default" mappings
83
- php app/console doctrine:schema:update --force
86
+ $ php app/console doctrine:schema:update --force
84
87
85
88
# Play only with "customer" mappings
86
- php app/console doctrine:schema:update --force --em=customer
89
+ $ php app/console doctrine:schema:update --force --em=customer
87
90
88
91
If you *do * omit the entity manager's name when asking for it,
89
92
the default entity manager (i.e. ``default ``) is returned::
You can’t perform that action at this time.
0 commit comments