Revive Alembic-based database migration logic.

Alembic migrations were introduced to Barbican a while ago but have not been
used recently. This CR revisits the migration logic and ensures that time-zero
database tables creation is distinguished from Alembic-base schema updates.
The associated database migration script is also revived, allowing for
schema migrations outside of the Barbican boot process.

Change-Id: I3e7fd7ac3f629da18329c22ad11cb9ccc1b7f9f9
Implements: blueprint db-revive-migrations
This commit is contained in:
jfwood
2014-03-24 23:31:49 -05:00
parent 061a7d1da8
commit b64228a945
8 changed files with 38 additions and 8 deletions

2
.gitignore vendored
View File

@@ -24,6 +24,8 @@ pip-log.txt
*.err.log
# Unit test / coverage reports
cover
.testrepository
.coverage
.tox
nosetests.xml