Convert SQL migrations to use Alembic

Registered by Adam Young

Move from SQLALChemy-migrate to Alembic as the tool for maintaining SQL Repos.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
Adam Young
Direction:
Approved
Assignee:
Boris Bobrov
Definition:
Superseded
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Lance Bragstad

Related branches

Sprints

Whiteboard

see ceilometer for a (hopefully) seamless approach to transitioning

Gerrit topic: https://review.openstack.org/#q,topic:bp/alembic,n,z

Addressed by: https://review.openstack.org/131531
    Alembic for SQL migrations

Addressed by: https://review.openstack.org/150057
    alembic initial support

Gerrit topic: https://review.openstack.org/#q,topic:alembic,n,z

Addressed by: https://review.openstack.org/177219
    Do not add new 'db' command and subcommands for it

Addressed by: https://review.openstack.org/177220
    Target Alembic for Liberty

Addressed by: https://review.openstack.org/147548
    Use migration_cli for db migrations

procedural change of milestone target, feel free to target to mitaka-2 or mitaka-3

(lbragstad) 19-02-15: I'm marking this as superseded based on the plan socialized on the mailing list [0]. All relevant content from this blueprint has been ported to an RFE bug report [1].

[0] http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002672.html
[1] https://bugs.launchpad.net/keystone/+bug/1816107

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.