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:
Stephen Finucane 2020-10-29 16:25:00 +00:00
parent b28b0e29d2
commit 5cb97f3a40
2 changed files with 3 additions and 4 deletions

View File

@ -145,15 +145,15 @@ class DbCommands(object):
# This flags let's us bypass trigger setup & teardown for non-rolling
# upgrades. We set this as a global variable immediately before handing
# off to sqlalchemy-migrate, because we can't pass arguments directly
# to migrations that depend on it.
# off to alembic, because we can't pass arguments directly to
# migrations that depend on it.
USE_TRIGGERS = False
curr_heads = alembic_migrations.get_current_alembic_heads()
contract = alembic_migrations.get_alembic_branch_head(
db_migration.CONTRACT_BRANCH)
if (contract in curr_heads):
if contract in curr_heads:
print(_('Database is up to date. No migrations needed.'))
sys.exit()

View File

@ -11,7 +11,6 @@ eventlet>=0.25.1 # MIT
PasteDeploy>=1.5.0 # MIT
Routes>=2.3.1 # MIT
WebOb>=1.8.1 # MIT
sqlalchemy-migrate>=0.11.0 # Apache-2.0
sqlparse>=0.2.2 # BSD
alembic>=0.9.6 # MIT
httplib2>=0.9.1 # MIT