Add missing ForeignKeyConstraint to Cisco providernet migration
Change-Id: Ieb6126fe80f71a5c44434861d65b6a1c97957eed Closes-Bug: #1214497
This commit is contained in:
parent
1a074b2424
commit
1444194d92
@ -49,6 +49,8 @@ def upgrade(active_plugins=None, options=None):
|
||||
sa.Column('network_id', sa.String(length=36), nullable=False),
|
||||
sa.Column('network_type', sa.String(length=255), nullable=False),
|
||||
sa.Column('segmentation_id', sa.Integer(), nullable=False),
|
||||
sa.ForeignKeyConstraint(['network_id'], ['networks.id'],
|
||||
ondelete='CASCADE'),
|
||||
sa.PrimaryKeyConstraint('network_id')
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user