Merge "Fix downgrade in migration"

This commit is contained in:
Jenkins 2013-11-27 19:20:21 +00:00 committed by Gerrit Code Review
commit 41bc9e8ea2

View File

@ -58,7 +58,7 @@ def downgrade(active_plugins=None, options=None):
return
op.drop_constraint(
name=CONSTRAINT_NAME,
tablename=TABLE_NAME,
type='unique'
CONSTRAINT_NAME,
TABLE_NAME,
type_='unique'
)