trivial: Remove references to sqlalchemy-migrate
Change-Id: I9eda5e5ac697c110e6047c6086855e04cbfe6b87 Implements: blueprint remove-sqlalchemy-migrate Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
b28b0e29d2
commit
5cb97f3a40
|
@ -145,15 +145,15 @@ class DbCommands(object):
|
||||||
|
|
||||||
# This flags let's us bypass trigger setup & teardown for non-rolling
|
# This flags let's us bypass trigger setup & teardown for non-rolling
|
||||||
# upgrades. We set this as a global variable immediately before handing
|
# upgrades. We set this as a global variable immediately before handing
|
||||||
# off to sqlalchemy-migrate, because we can't pass arguments directly
|
# off to alembic, because we can't pass arguments directly to
|
||||||
# to migrations that depend on it.
|
# migrations that depend on it.
|
||||||
USE_TRIGGERS = False
|
USE_TRIGGERS = False
|
||||||
|
|
||||||
curr_heads = alembic_migrations.get_current_alembic_heads()
|
curr_heads = alembic_migrations.get_current_alembic_heads()
|
||||||
contract = alembic_migrations.get_alembic_branch_head(
|
contract = alembic_migrations.get_alembic_branch_head(
|
||||||
db_migration.CONTRACT_BRANCH)
|
db_migration.CONTRACT_BRANCH)
|
||||||
|
|
||||||
if (contract in curr_heads):
|
if contract in curr_heads:
|
||||||
print(_('Database is up to date. No migrations needed.'))
|
print(_('Database is up to date. No migrations needed.'))
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ eventlet>=0.25.1 # MIT
|
||||||
PasteDeploy>=1.5.0 # MIT
|
PasteDeploy>=1.5.0 # MIT
|
||||||
Routes>=2.3.1 # MIT
|
Routes>=2.3.1 # MIT
|
||||||
WebOb>=1.8.1 # MIT
|
WebOb>=1.8.1 # MIT
|
||||||
sqlalchemy-migrate>=0.11.0 # Apache-2.0
|
|
||||||
sqlparse>=0.2.2 # BSD
|
sqlparse>=0.2.2 # BSD
|
||||||
alembic>=0.9.6 # MIT
|
alembic>=0.9.6 # MIT
|
||||||
httplib2>=0.9.1 # MIT
|
httplib2>=0.9.1 # MIT
|
||||||
|
|
Loading…
Reference in New Issue