forked from phoenix/litellm-mirror
fix(proxy/utils.py): fix create missing views check (#5953)
This commit is contained in:
parent
39b5d8f383
commit
754981a78f
1 changed files with 2 additions and 2 deletions
|
@ -1179,9 +1179,9 @@ class PrismaClient:
|
|||
"LiteLLM_VerificationTokenView Created in DB!"
|
||||
)
|
||||
else:
|
||||
should_create_views = await should_create_missing_views(db=self.db.db) # type: ignore
|
||||
should_create_views = await should_create_missing_views(db=self.db)
|
||||
if should_create_views:
|
||||
await create_missing_views(db=self.db) # type: ignore
|
||||
await create_missing_views(db=self.db)
|
||||
else:
|
||||
# don't block execution if these views are missing
|
||||
# Convert lists to sets for efficient difference calculation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue