Switch DB migration engine to Alembic
Please read similar similar blueprint in nova: https:/
In addition:
1) SQLAlchemy-migrate has several bugs related to sqllite backend. this project no longer maintained and doesn't accept bugfixes. Cause of this we have to use monkey patching and other workarounds to solve them in other projects.
2) It has compatibility issues with sqlalchemy >0.8.x (solved by a separate patch)
Ceilometer is currently relatively small and it should be easier to convert it to Alebmic migration engine. Such conversion will provide a good reference point for other projects that will soon follow.
Blueprint information
- Status:
- Complete
- Approver:
- Julien Danjou
- Priority:
- Low
- Drafter:
- Alexei Kornienko
- Direction:
- Needs approval
- Assignee:
- Alexei Kornienko
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- 2013.2
- Started by
- Julien Danjou
- Completed by
- Alexei Kornienko
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Added alembic migrations
Addressed by: https:/
Added functions to sync db in both alembic and migrate
Addressed by: https:/
Ported 1st migration to alembic
Addressed by: https:/
Call alembic migrations after sqlalchemy-migrate