From: Ann Kamyshnikova Date: Fri, 11 Oct 2013 08:05:59 +0000 (+0400) Subject: Fix migration X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=2833fc3d171205ce70d7ad8875838bdb9c0d57a4;p=openstack-build%2Fneutron-build.git Fix migration In migration 338d7508968c_vpnaas_peer_address_ was mistake in usage alter_column's parameter type_. Closes-Bug: #1238561 Change-Id: I6e0eb8260cf5e8d8f557b174c7985e2f7ca1c912 (cherry picked from commit a272a2838313b56edc1463f6d81a01414b37a78f) --- diff --git a/neutron/db/migration/alembic_migrations/versions/338d7508968c_vpnaas_peer_address_.py b/neutron/db/migration/alembic_migrations/versions/338d7508968c_vpnaas_peer_address_.py index 2b57cdbea..56064be3a 100644 --- a/neutron/db/migration/alembic_migrations/versions/338d7508968c_vpnaas_peer_address_.py +++ b/neutron/db/migration/alembic_migrations/versions/338d7508968c_vpnaas_peer_address_.py @@ -44,7 +44,7 @@ def upgrade(active_plugins=None, options=None): return op.alter_column('ipsec_site_connections', 'peer_address', - _type=sa.String(255), existing_type=sa.String(64)) + type_=sa.String(255), existing_type=sa.String(64)) def downgrade(active_plugins=None, options=None): @@ -52,4 +52,4 @@ def downgrade(active_plugins=None, options=None): return op.alter_column('ipsec_site_connections', 'peer_address', - _type=sa.String(64), existing_type=sa.String(255)) + type_=sa.String(64), existing_type=sa.String(255))