🔧 chore(user.py): add optional profile_image field to UserRead model for improved user profile functionality
This commit is contained in:
parent
bd44500508
commit
071ad8621b
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ class UserCreate(SQLModel):
|
||||||
class UserRead(SQLModel):
|
class UserRead(SQLModel):
|
||||||
id: UUID = Field(default_factory=uuid4)
|
id: UUID = Field(default_factory=uuid4)
|
||||||
username: str = Field()
|
username: str = Field()
|
||||||
|
profile_image: Optional[str] = Field()
|
||||||
is_active: bool = Field()
|
is_active: bool = Field()
|
||||||
is_superuser: bool = Field()
|
is_superuser: bool = Field()
|
||||||
create_at: datetime = Field()
|
create_at: datetime = Field()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue