zun/zun/db/sqlalchemy/alembic
Hongbin Lu f320089c15 Support private registry - DB layer
Add database table 'registry'. This table will store information
about a registry, such as domain, username and password.

Change-Id: If5532555e09d909d76025eafc99b5f6b2eeef19e
Partial-Bug: #1702830
2019-01-06 19:06:12 +00:00
..
versions Support private registry - DB layer 2019-01-06 19:06:12 +00:00
README update higgins with zun 2016-06-08 22:21:34 -05:00
env.py Add DB migration tests 2017-03-09 08:36:21 +08:00
script.py.mako update higgins with zun 2016-06-08 22:21:34 -05:00

README

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

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

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

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