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:
Ann Kamyshnikova 2014-07-21 16:13:14 +04:00
parent e693d5be17
commit 4e8f4155fc
1 changed files with 1 additions and 1 deletions

View File

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