
Remove downgrade from all existing migrations. Related cross-project spec: https://review.openstack.org/152337 Change-Id: I39135d99278b6bba13b5f09ffa382b87051d09ad Partial-Bug: 1434103
12 lines
405 B
Plaintext
12 lines
405 B
Plaintext
Please see https://alembic.readthedocs.org/en/latest/index.html for general documentation
|
|
|
|
To create alembic migrations use:
|
|
$ magnum-db-manage revision --message "description of revision" --autogenerate
|
|
|
|
Stamp db with most recent migration version, without actually running migrations
|
|
$ magnum-db-manage stamp head
|
|
|
|
Upgrade can be performed by:
|
|
$ magnum-db-manage upgrade
|
|
$ magnum-db-manage upgrade head
|