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:
parent
ff0623c2d6
commit
46129d253b
@ -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')
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user