deb-murano/murano/db/migration/alembic_migrations
Ekaterina Chernova 017d25f49e Resolve and enable E265 pep8 issue
E265 block comment should start with '# '

Change-Id: I1a8b971776deb8b05b84be169571b9f1e573d2ba
2015-02-05 12:10:22 +03:00
..
versions Resolve and enable E265 pep8 issue 2015-02-05 12:10:22 +03:00
env.py Migrate to oslo.db 2014-08-23 16:35:07 +04:00
README Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
script.py.mako Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00

Please see https://alembic.readthedocs.org/en/latest/index.html for general documentation

To create alembic migrations use:
$ murano-db-manage revision --message --autogenerate

Stamp db with most recent migration version, without actually running migrations
$ murano-db-manage stamp --revision head

Upgrade can be performed by:
$ murano-db-manage upgrade
$ murano-db-manage upgrade --revision head

Downgrading db:
$ murano-db-manage downgrade
$ murano-db-manage downgrade --revision base