9dc5ab7ad0
Removed version parameter from storage.upgrade method since it was never used and partial upgrade is not supported by the code base Removed downgrade call from db_sync since it's never used Implements blueprint convert-to-alembic Change-Id: I2aeabc111e5d3728fdcd0df45bf56f0aa68ed199
10 lines
400 B
Plaintext
10 lines
400 B
Plaintext
Please see https://alembic.readthedocs.org/en/latest/index.html for general documentation
|
|
|
|
To create alembic migrations you need to have alembic installed and available in PATH:
|
|
# pip install alembic
|
|
$ cd ./ceilometer/storage/sqlalchemy/alembic
|
|
$ alembic revision -m "migration_description"
|
|
|
|
See Operation Reference https://alembic.readthedocs.org/en/latest/ops.html#ops
|
|
for a short list of commands
|