You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ironic/ironic/db/sqlalchemy/alembic
Mark Goddard bbff319f02
Node traits: Add DB API & model
5 years ago
..
versions Node traits: Add DB API & model 5 years ago
README Remove description of 'downgrade' for ironic-dbsync 7 years ago
env.py Remove usage of some of the deprecated methods 6 years ago
script.py.mako Remove description of 'downgrade' for ironic-dbsync 7 years ago

README

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