Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Dec 16, 2021
1 parent 484a193 commit d77b17c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
def upgrade():
ctx = op.get_context()
con = op.get_bind()
table_exists = ctx.dialect.has_table(con.engine, 'vmexclude')
table_exists = ctx.dialect.has_table(con, 'vmexclude')
if not table_exists:
op.create_table(
'vmexclude',
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ WebOb
keystonemiddleware
pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2,>=1.0.0
six>=1.9.0 # MIT
SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT
SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.4.8 # MIT
alembic>=0.8.10 # MIT
prettytable

0 comments on commit d77b17c

Please sign in to comment.