🔧 chore(api_key.py): remove index and unique constraints from api_key field in UnmaskedApiKeyRead model to align with database schema changes
This commit is contained in:
parent
512be8b9a7
commit
96c7d4c897
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class ApiKeyCreate(ApiKeyBase):
|
|||
|
||||
class UnmaskedApiKeyRead(ApiKeyBase):
|
||||
id: UUID
|
||||
api_key: str = Field(index=True, unique=True)
|
||||
api_key: str = Field()
|
||||
user_id: UUID = Field()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue