Merge "docs: Correct 'nova-manage db sync' documentation"
This commit is contained in:
commit
f57beba5ba
|
@ -48,9 +48,9 @@ Nova Database
|
||||||
``nova-manage db version``
|
``nova-manage db version``
|
||||||
Print the current main database 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
|
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
|
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
|
``map_cell0`` or ``simple_cell_setup`` commands for more details on mapping
|
||||||
the cell0 database). If ``--local_cell`` is specified, then only the main
|
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]``
|
``nova-manage api_db sync [VERSION]``
|
||||||
Upgrade the API database schema up to the most recent version or
|
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
|
database, it runs schema migration scripts. The API database connection is
|
||||||
determined by :oslo.config:option:`api_database.connection` in the
|
determined by :oslo.config:option:`api_database.connection` in the
|
||||||
configuration file passed to nova-manage.
|
configuration file passed to nova-manage.
|
||||||
|
|
Loading…
Reference in New Issue