Skip to content

Commit

Permalink
rename the right index
Browse files Browse the repository at this point in the history
fixes bug 953159
This did not affect sqlite and mysql, because those can not rename indexes
and thus used a separate sql file to drop and create the right one.

Change-Id: Iab80a65464a591b732ecce4c00d04df50624e912
  • Loading branch information
bmwiedemann committed Apr 1, 2012
1 parent 257be28 commit 5eddae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Authors
Expand Up @@ -2,6 +2,7 @@ Adam Gandelman <adam.gandelman@canonical.com>
Alex Meade <alex.meade@rackspace.com>
Andrew Hutchings <andrew@linuxjedi.co.uk>
Andrey Brindeyev <abrindeyev@griddynamics.com>
Bernhard M. Wiedemann <bwiedemann@suse.de>
Bhuvan Arumugam <bhuvan@apache.org>
Brian Lamar <brian.lamar@rackspace.com>
Brian Waldon <brian.waldon@rackspace.com>
Expand Down
Expand Up @@ -70,7 +70,7 @@ def upgrade(migrate_engine):
'004_add_checksum', ['get_image_properties_table'])
image_properties = get_image_properties_table(meta)

index = Index('ix_image_properties_image_id_get',
index = Index('ix_image_properties_image_id_key',
image_properties.c.image_id,
image_properties.c.key)
index.rename('ix_image_properties_image_id_name')
Expand Down

0 comments on commit 5eddae2

Please sign in to comment.