From: Ann Kamyshnikova Date: Fri, 13 Feb 2015 11:53:00 +0000 (+0300) Subject: Fix index name in downgrade 26b54cf9024d migration X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f0cebe4294787af4ec651cfa417423d886a133de;p=openstack-build%2Fneutron-build.git Fix index name in downgrade 26b54cf9024d migration In downgrade of migration 26b54cf9024d_add_index_on_allocated is trying to drop index 'ix_ml2_vxlan_allocations_allocated', which is not exits. Closes-bug: #1421618 Change-Id: I4c75e78512cc6d112a23ab5c7de6e8ca104891b0 --- diff --git a/neutron/db/migration/alembic_migrations/versions/26b54cf9024d_add_index_on_allocated.py b/neutron/db/migration/alembic_migrations/versions/26b54cf9024d_add_index_on_allocated.py index 1c762cffa..b08426477 100644 --- a/neutron/db/migration/alembic_migrations/versions/26b54cf9024d_add_index_on_allocated.py +++ b/neutron/db/migration/alembic_migrations/versions/26b54cf9024d_add_index_on_allocated.py @@ -46,5 +46,5 @@ def downgrade(): table_name='ml2_vxlan_allocations') op.drop_index(op.f('ix_ml2_gre_allocations_allocated'), table_name='ml2_gre_allocations') - op.drop_index(op.f('ix_ml2_vlan_allocations_allocated'), + op.drop_index(op.f('ix_ml2_vlan_allocations_physical_network_allocated'), table_name='ml2_vlan_allocations')