Fix incorrect downgrade
In downgrade of migration b7a8863760e_rm_cisco_vlan_bindin is used Integer type with parameter display_width. Integer should be used without any parameters. Closes-bug: #1346245 Change-Id: Ic444af81ed3ec25116d2171ab465ce473cba8113
This commit is contained in:
parent
ef379f7f97
commit
c25079438f
@ -51,7 +51,7 @@ def downgrade(active_plugins=None, options=None):
|
||||
|
||||
op.create_table(
|
||||
'cisco_vlan_bindings',
|
||||
sa.Column('vlan_id', sa.Integer(display_width=11), nullable=False),
|
||||
sa.Column('vlan_id', sa.Integer(), nullable=False),
|
||||
sa.Column('vlan_name', sa.String(length=255), nullable=True),
|
||||
sa.Column('network_id', sa.String(length=255), nullable=False),
|
||||
sa.PrimaryKeyConstraint('vlan_id')
|
||||
|
Loading…
x
Reference in New Issue
Block a user