3fb50986fa
Removing global engine object introduces some changes to migration api. Basically we need to move engine creation to outer scope. In order to address these issues we need to refactor alembic api. Co-Authored-By: Dmitry Shulyak <dshulyak@mirantis.com> Adopted from Ia2f9586c4e9c31339dd7dcd9f45a58e8a8409921 Change-Id: Ic7dcf1d2f38388bd1e5a517ce60190bff499686a |
||
---|---|---|
.. | ||
__init__.py | ||
ext_alembic.py | ||
ext_base.py | ||
ext_migrate.py | ||
manager.py | ||
README.rst |
This module could be used either for: 1. Smooth transition from migrate tool to alembic 2. As standalone alembic tool
Core points: 1. Upgrade/downgrade database with usage of alembic/migrate migrations or both 2. Compatibility with oslo.config 3. The way to autogenerate new revisions or stamps