File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 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.
6868 explicit about which configuration you want. If you *do * omit the name of
6969 the connection or entity manager, the default (i.e. ``default ``) is used.
7070
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
7374
7475 # Play only with "default" connection
75- php app/console doctrine:database:create
76+ $ php app/console doctrine:database:create
7677
7778 # 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:
7982
80- When working with multiple entity managers to update your schema::
83+ .. code-block :: bash
8184
8285 # Play only with "default" mappings
83- php app/console doctrine:schema:update --force
86+ $ php app/console doctrine:schema:update --force
8487
8588 # 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
8790
8891 If you *do * omit the entity manager's name when asking for it,
8992the default entity manager (i.e. ``default ``) is returned::
You can’t perform that action at this time.
0 commit comments