Fix migration

In migration 338d7508968c_vpnaas_peer_address_ was mistake in
usage alter_column's parameter type_.

Closes-Bug: #1238561

Change-Id: I6e0eb8260cf5e8d8f557b174c7985e2f7ca1c912
This commit is contained in:
Ann Kamyshnikova 2013-10-11 12:05:59 +04:00
parent cbfd690d65
commit 58ac6d272d

View File

@ -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))