Files
trove/releasenotes/notes/support-alembic-database-migration-tool-4e02523e22cc62fa.yaml
Hirotaka Wakabayashi 114601edba Introduces Alembic database migration tool
This PR introduces Alembic database migration tool. Trove currently
uses sqlalchemy-migrate with which SQLAlchemy-2.0 does not work. By
introducing the new migration tool, we can prepare for migrating
to SQLAlchemy-2.0.

This change will not affect the default trove-manage's usage while
the database schema versioning will be changed because alembic uses
non-linear, dependency-graph versioning while sqlalchemy-migrate
uses integer based versioning.

Depends-On: https://review.opendev.org/c/openstack/trove-tempest-plugin/+/921589

Co-Authored-By: wu.chunyang <wchy1001@gmail.com>

Story: 2010922
Task: 48782
Change-Id: Idd63f470a2b941720314b6356fe28cd8e394427e
2024-06-13 16:20:52 +08:00

11 lines
414 B
YAML

---
features:
- Support Alembic database migration tool.
upgrade:
- Trove has removed support for SQLAlchemy-Migrate. If users are
upgrading from a version prior to "Wallaby," they need to first
upgrade to a version between "Wallaby" and "Bobocat" using
SQLAlchemy-Migrate to complete the database schema migration,
and then use trove-manage to upgrade to the latest version.