opsmate db-rollback
db-rollback
is used to rollback the opsmate database to the previous version.
OPTIONS
Usage: opsmate db-rollback [OPTIONS]
Rollback migrations.
Options:
-r, --revision TEXT Revision to downgrade to [default: -1]
--help Show this message and exit.
EXAMPLES
opsmate db-rollback
To rollback to a specific version, run:
opsmate db-rollback --revision <revision>
To list all the versions available, run opsmate db-revisions
.