Fix downgrade in migration

In 63afba73813_ovs_tunnelendpoints_id_unique migration mistake in
usage drop_constraint parameter type_ and positional agruments name
and table_name.

Closes-Bug: #1243073

Change-Id: I60cd6e7f18b193b71f8f20759251b9f59a79965a
This commit is contained in:
Ann Kamyshnikova 2013-10-22 11:02:55 +04:00
parent 145eb3e15e
commit 9a64271bd9

View File

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