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:
parent
cbfd690d65
commit
58ac6d272d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user