ironic/ironic/db/sqlalchemy/alembic
Julia Kreger 3f5e25e182 DPU modeling - parent_node DB/Model/API
Adds the parent node support and tests in one change
including all DB/Model/API changes along with RBAC and
basic API tests.

* Updates the API version to 1.83
* Adds parent_node and related index to the nodes table.
* Adds new API parameters to list by parent node relationship.

Depends-On: https://review.opendev.org/c/openstack/ironic/+/883967
Change-Id: I8d64fee7105718199986db4994e13352d639f04f
2023-05-23 18:23:25 +00:00
..
versions DPU modeling - parent_node DB/Model/API 2023-05-23 18:23:25 +00:00
README Remove description of 'downgrade' for ironic-dbsync 2016-04-10 14:12:14 +09:00
env.py Remove usage of some of the deprecated methods 2017-07-31 10:14:08 +00:00
script.py.mako Remove description of 'downgrade' for ironic-dbsync 2016-04-10 14:12:14 +09:00

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