From 58ac6d272d5bca649a6fb3017dd640cfbe4cf2bc Mon Sep 17 00:00:00 2001 From: Ann Kamyshnikova Date: Fri, 11 Oct 2013 12:05:59 +0400 Subject: [PATCH] Fix migration In migration 338d7508968c_vpnaas_peer_address_ was mistake in usage alter_column's parameter type_. Closes-Bug: #1238561 Change-Id: I6e0eb8260cf5e8d8f557b174c7985e2f7ca1c912 --- .../versions/338d7508968c_vpnaas_peer_address_.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 2b57cdbeab..56064be3ab 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))