Fixes bug #
1209172
A column name of tunnelkeys table which db migration script of ryu
plugin creates is wrong.
This patch fixes the column name.
Change-Id: Ic3a445ea200111c0d7db93951804e7c4570420f2
op.create_table(
'tunnelkeys',
sa.Column('network_id', sa.String(length=36), nullable=False),
- sa.Column('last_key', sa.Integer(), autoincrement=False,
+ sa.Column('tunnel_key', sa.Integer(), autoincrement=False,
nullable=False),
sa.ForeignKeyConstraint(['network_id'], ['networks.id'],
ondelete='CASCADE'),
- sa.PrimaryKeyConstraint('last_key')
+ sa.PrimaryKeyConstraint('tunnel_key')
)
op.create_table(