Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Andreas Braun <[email protected]>
  • Loading branch information
melkamar and alcaeus authored Oct 1, 2019
1 parent aeed4bc commit 03a76ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/reference/capped-collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ You can drop the collection too if it already exists:
$documentManager->getSchemaManager()->dropDocumentCollection('Category');
If using Symfony in addition to Doctrine, use the following command to create the capped collection:
Use the ``odm:schema:create`` command to create the database schema:

.. code-block:: bash
.. code-block:: console
php app/console --env=<env> doctrine:mongodb:schema:create
$ php mongodb.php odm:schema:create
It must not exist when the command is invoked. It is not possible to convert an existing collection to a capped one using Doctrine. It is, however, possible to convert it by calling a `direct Mongo command`_.

Expand Down

0 comments on commit 03a76ec

Please sign in to comment.