aodh/ceilometer/storage/sqlalchemy/alembic
Svetlana Shturm aae3f55304 Fix wrong migrations
For Postgres migrations are failed.
More then we can get for mysql an error
"Specified key was too long; max key length is 1000 bytes" in b6ae66d05e3
migration in some versions of dialect.

Fixes-Bug: #1219776

Change-Id: Id9b0e1eb0e685053291367f7eb62fef68b6b2f84
2013-09-05 12:50:06 +04:00
..
versions Fix wrong migrations 2013-09-05 12:50:06 +04:00
alembic.ini Added alembic migrations 2013-07-16 16:07:13 +03:00
env.py Close database connection for alembic env 2013-08-19 15:51:44 +04:00
README Call alembic migrations after sqlalchemy-migrate 2013-07-29 16:40:32 +03:00
script.py.mako Added alembic migrations 2013-07-16 16:07:13 +03:00

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