Fix usage of sqlalchemy type Integer

In migration folsom_initial in cisco_upgrade function table
nexusport_bindings create column vlan_id with incorrect type
Integer(255).

Closes-bug: #1289256

Change-Id: I8ef99526d19b19b51d9284ccab5703de21838ee1
This commit is contained in:
AKamyshnikova 2014-03-07 14:23:49 +04:00
parent 7c88a923a3
commit f5601393e9
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ def upgrade_cisco():
'nexusport_bindings',
sa.Column('id', sa.Integer(), primary_key=True, autoincrement=True),
sa.Column('port_id', sa.String(255)),
sa.Column('vlan_id', sa.Integer(255)),
sa.Column('vlan_id', sa.Integer()),
sa.PrimaryKeyConstraint('id')
)