Merge "docs: Correct 'nova-manage db sync' documentation"

This commit is contained in:
Zuul 2019-09-27 09:28:34 +00:00 committed by Gerrit Code Review
commit f57beba5ba
1 changed files with 3 additions and 3 deletions

View File

@ -48,9 +48,9 @@ Nova Database
``nova-manage db version``
Print the current main database version.
``nova-manage db sync [--version <version>] [--local_cell]``
``nova-manage db sync [--local_cell] [VERSION]``
Upgrade the main database schema up to the most recent version or
``--version`` if specified. By default, this command will also attempt to
``VERSION`` if specified. By default, this command will also attempt to
upgrade the schema for the cell0 database if it is mapped (see the
``map_cell0`` or ``simple_cell_setup`` commands for more details on mapping
the cell0 database). If ``--local_cell`` is specified, then only the main
@ -222,7 +222,7 @@ Nova API Database
``nova-manage api_db sync [VERSION]``
Upgrade the API database schema up to the most recent version or
``[VERSION]`` if specified. This command does not create the API
``VERSION`` if specified. This command does not create the API
database, it runs schema migration scripts. The API database connection is
determined by :oslo.config:option:`api_database.connection` in the
configuration file passed to nova-manage.