Skip to content

Commit ad307b3

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "[alembic] Alembic operations require keywords only arguments"
2 parents eee5b39 + 32f191c commit ad307b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nova/db/main/migrations/versions/16f1fbcab42b_resolve_shadow_table_diffs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ def upgrade():
4444
# 252_add_instance_extra_table; we shouldn't have created an index for the
4545
# shadow table
4646

47-
op.drop_index('shadow_instance_extra_idx', 'shadow_instance_extra')
47+
op.drop_index(index_name='shadow_instance_extra_idx',
48+
table_name='shadow_instance_extra')
4849

4950
# 373_migration_uuid; we shouldn't have created an index for the shadow
5051
# table
5152

52-
op.drop_index('shadow_migrations_uuid', 'shadow_migrations')
53+
op.drop_index(index_name='shadow_migrations_uuid',
54+
table_name='shadow_migrations')
5355

5456
# 298_mysql_extra_specs_binary_collation; we changed the collation on the
5557
# main table but not the shadow table

0 commit comments

Comments
 (0)