Replace sqlalchemy-migrate with alembic
Alembic is a new database migrations tool, written by the author of SQLAlchemy. A migrations tool offers the following functionality:
- Can emit ALTER statements to a database in order to change the structure of tables and other constructs
- Provides a system whereby "migration scripts" may be constructed; each script indicates a particular series of steps that can "upgrade" a target database to a new version, and optionally a series of steps that can "downgrade" similarly, doing the same steps in reverse.
- Allows the scripts to execute in some sequential manner.
More details see here: https:/
Nova's plans about alembic: https:/
Neutron already has it.
In Manila's case, it is better to implement it in nearest future, while there are no migrations exist.
Blueprint information
- Status:
- Complete
- Approver:
- Ben Swartzlander
- Priority:
- Undefined
- Drafter:
- Valeriy Ponomaryov
- Direction:
- Needs approval
- Assignee:
- Julia Varlamova
- Definition:
- New
- Series goal:
- Proposed for juno
- Implementation:
- Implemented
- Milestone target:
- juno-2
- Started by
- Valeriy Ponomaryov
- Completed by
- Julia Varlamova
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Use Alembic instead of Sqlalchemy-migrate in Manila