Merge "[alembic] Alembic operations require keywords only arguments"

This commit is contained in:
Zuul 2023-06-02 18:49:44 +00:00 committed by Gerrit Code Review
commit a3efd32a86
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ def recreate_index(index, table_name):
old_name = index['name']
new_name = old_name.replace('tenant', 'project')
op.drop_index(op.f(old_name), table_name)
op.drop_index(index_name=op.f(old_name), table_name=table_name)
op.create_index(new_name, table_name, ['project_id'])