Avoid using Pydantic for FindQuery
This commit is contained in:
parent
01cab5352b
commit
ef58e854c1
3 changed files with 102 additions and 38 deletions
|
@ -73,7 +73,7 @@ class Migrator:
|
|||
for name, cls in model_registry.items():
|
||||
hash_key = schema_hash_key(cls.Meta.index_name)
|
||||
try:
|
||||
schema = cls.schema()
|
||||
schema = cls.redisearch_schema()
|
||||
except NotImplementedError:
|
||||
log.info("Skipping migrations for %s", name)
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue