From 9a64271bd9f741b13f6cf4a9074524d3854fdd14 Mon Sep 17 00:00:00 2001 From: Ann Kamyshnikova Date: Tue, 22 Oct 2013 11:02:55 +0400 Subject: [PATCH] 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 --- .../versions/63afba73813_ovs_tunnelendpoints_id_unique.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neutron/db/migration/alembic_migrations/versions/63afba73813_ovs_tunnelendpoints_id_unique.py b/neutron/db/migration/alembic_migrations/versions/63afba73813_ovs_tunnelendpoints_id_unique.py index 6ab361d8a98..c5f25505921 100644 --- a/neutron/db/migration/alembic_migrations/versions/63afba73813_ovs_tunnelendpoints_id_unique.py +++ b/neutron/db/migration/alembic_migrations/versions/63afba73813_ovs_tunnelendpoints_id_unique.py @@ -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' )