Fix dbmanage upgrade and downgrade
The argument is '--revision' Change-Id: Icf3a37ed42dd1dfe4fc9c52525dd4f0fb851417c
This commit is contained in:
@@ -36,13 +36,13 @@ To run the offline migration between specific migration versions::
|
||||
|
||||
Upgrade the database incrementally::
|
||||
|
||||
$ watcher-db-manage --config-file /path/to/watcher.conf upgrade --delta \
|
||||
$ watcher-db-manage --config-file /path/to/watcher.conf upgrade --revision \
|
||||
<# of revs>
|
||||
|
||||
|
||||
Downgrade the database by a certain number of revisions::
|
||||
|
||||
$ watcher-db-manage --config-file /path/to/watcher.conf downgrade --delta \
|
||||
$ watcher-db-manage --config-file /path/to/watcher.conf downgrade --revision \
|
||||
<# of revs>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user