We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e69f44 + f399ec6 commit 1406b34Copy full SHA for 1406b34
book/doctrine.rst
@@ -1367,7 +1367,12 @@ Some notable or interesting tasks include:
1367
1368
.. code-block:: bash
1369
1370
- $ php app/console doctrine:ensure-production-settings --env=prod
+ $ php app/console doctrine:ensure-production-settings --no-debug --env=prod
1371
+
1372
+ .. caution::
1373
1374
+ Don't forget to add the ``--no-debug`` switch, because the debug flag is
1375
+ always set to true, even if the environment is set to ``prod``.
1376
1377
* ``doctrine:mapping:import`` - allows Doctrine to introspect an existing
1378
database and create mapping information. For more information, see
0 commit comments