deb-murano/murano/db/migration/alembic_migrations
visitor 806fd1c75f Including a description field for environment and environment templates
Current environment and environment template information miss a description
 field to describe its functionality. Fixing this request implies to provide
 an extra field in both environment and environment template for that
 information, for instance called text, since description includes the object json.

Change-Id: Ic7dc5f420f453a3f4fa2769860b4a603ab14eaad
Closes-Bug: #1588276
2016-06-23 08:15:13 +02:00
..
versions Including a description field for environment and environment templates 2016-06-23 08:15:13 +02: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