Files
ironic/ironic/db/sqlalchemy/alembic
Vladyslav Drok ea3f62a132 Remove usage of some of the deprecated methods
Switch to enginefacade.writer during migrations instead of using
legacy facade, use inspect.signature instead of inspect.getargspec
in python 3.

Change-Id: I8ce536a5ce7e9f248d75fb9de8e7c1974a3423b3
2017-07-31 10:14:08 +00:00
..

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

To create alembic migrations use:
$ ironic-dbsync revision --message --autogenerate

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

Upgrade can be performed by:
$ ironic-dbsync - for backward compatibility
$ ironic-dbsync upgrade
# ironic-dbsync upgrade --revision head