Skip to content

Commit

Permalink
Fix upgrade instructions for GridFS adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Dec 8, 2015
1 parent 21ffea1 commit 9aa9308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ If you use the GridFS adapter, you will need to rename the ``publicKey`` field w

.. code-block:: javascript
db.fs.files.update({}, { $rename: { 'publicKey': 'user' } )
db.fs.files.update({}, { $rename: { 'publicKey': 'user' } }, { multi: true } )
.. note:: The default database names for the GridFS adapters are ``imbo_storage`` and ``imbo_imagevariation_storage``. The query specified should be run on both databases. If the ``imbo_imagevariation_storage`` database does not exist, run the query on ``imbo_storage`` and follow the instructions specified in the :ref:`database-setup` section to create the appropriate indexes for the ``imbo_imagevariation_storage`` database.

Expand Down

0 comments on commit 9aa9308

Please sign in to comment.