gyan/gyan/db/sqlalchemy/alembic
bharath a40f556027 [WIP] Add hosts APIs and compute rpc APIs
Change-Id: I5893bf066fc876e795f020214080fb92b79a00a5
2018-10-11 08:50:24 +05:30
..
versions [WIP] Add hosts APIs and compute rpc APIs 2018-10-11 08:50:24 +05:30
README [WIP] Add hosts APIs and compute rpc APIs 2018-10-11 08:50:24 +05:30
env.py [WIP] Add hosts APIs and compute rpc APIs 2018-10-11 08:50:24 +05:30
script.py.mako [WIP] Add hosts APIs and compute rpc APIs 2018-10-11 08:50:24 +05:30

README

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

To create alembic migrations use:
$ gyan-db-manage revision --message "description of revision" --autogenerate

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

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