Remove duplicate index from model
Migration 249 dropped this duplicate index, but didn't update the model to match what happened in the migration. Change-Id: I3f63d31a0bb6f2652f49d8505cf0c02b090de89e
This commit is contained in:
parent
9fd059b938
commit
3842e28eb3
|
@ -556,12 +556,6 @@ class BlockDeviceMapping(BASE, NovaBase):
|
|||
Index('block_device_mapping_instance_uuid_volume_id_idx',
|
||||
'instance_uuid', 'volume_id'),
|
||||
Index('block_device_mapping_instance_uuid_idx', 'instance_uuid'),
|
||||
# TODO(sshturm) Should be dropped. `virtual_name` was dropped
|
||||
# in 186 migration,
|
||||
# Duplicates `block_device_mapping_instance_uuid_device_name_idx`
|
||||
# index.
|
||||
Index("block_device_mapping_instance_uuid_virtual_name"
|
||||
"_device_name_idx", 'instance_uuid', 'device_name'),
|
||||
)
|
||||
id = Column(Integer, primary_key=True, autoincrement=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue