Fix dbmanage upgrade and downgrade

The argument is '--revision'

Change-Id: Icf3a37ed42dd1dfe4fc9c52525dd4f0fb851417c
This commit is contained in:
licanwei
2017-07-14 14:12:41 +08:00
parent 728acc091b
commit b146e29c39
2 changed files with 4 additions and 4 deletions

View File

@@ -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>