Move sqlalchemy test_migrations and utils to common code

Registered by Boris Pavlovic

The code from test_migration and db/utils could be useful for a range of projects:
The goals are:
1) cleanup test_migration to make it common
2) add to db/utils code that change type of deleted columns in tables

Blueprint information

Status:
Complete
Approver:
Russell Bryant
Priority:
Low
Drafter:
Boris Pavlovic
Direction:
Approved
Assignee:
Boris Pavlovic
Definition:
Superseded
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Boris Pavlovic
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

I think this blueprint needs to be in Oslo instead of Nova. Part of successfully adding a feature to Oslo would be getting used by the projects it is applicable to. --Russell

Gerrit topic: https://review.openstack.org/#q,topic:bp/db-improve-archiving,n,z

Addressed by: https://review.openstack.org/28952
    Move get_table() from test_migrations to sqlalchemy.utils

Addressed by: https://review.openstack.org/28953
    Change db `deleted` column type utils

Addressed by: https://review.openstack.org/30127
    Fix tests for sqlalchemy utils

Gerrit topic: https://review.openstack.org/#q,topic:bp/db-common-migration-and-utils,n,z

Addressed by: https://review.openstack.org/55503
    Add testing of migrations from oslo

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.