deb-murano/murano/db/migration/alembic_migrations
Nikolay Starodubtsev 53615655f2 Remove legacy network-related code
In this patch 'networking' field was removed from environment and
environment template models. Also, it was cleared from DB and tests.

Change-Id: I372f032a2b1fad1bd9c65016a8d3330bba4bf853
Closes-Bug: #1314192
2015-09-08 17:10:16 +03:00
..
versions Remove legacy network-related code 2015-09-08 17:10:16 +03:00
env.py Use oslo.log library instead of system logging module 2015-08-05 13:21:09 +03: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