🔧 chore(user.py): add optional profile_image field to UserRead model for improved user profile functionality

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-08 14:13:54 -03:00
commit 071ad8621b

View file

@ -33,6 +33,7 @@ class UserCreate(SQLModel):
class UserRead(SQLModel):
id: UUID = Field(default_factory=uuid4)
username: str = Field()
profile_image: Optional[str] = Field()
is_active: bool = Field()
is_superuser: bool = Field()
create_at: datetime = Field()