We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b5073 commit 6193c23Copy full SHA for 6193c23
aredis_om/model/migrations/migrator.py
@@ -41,7 +41,7 @@ def schema_hash_key(index_name):
41
42
async def create_index(redis: Redis, index_name, schema, current_hash):
43
db_number = redis.connection_pool.connection_kwargs.get("db")
44
- if db_number and db_number > 0:
+ if db_number and db_number > 0:
45
raise MigrationError(
46
"Creating search indexes is only supported in database 0. "
47
f"You attempted to create an index in database {db_number}"
0 commit comments