We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04321d1 commit a544795Copy full SHA for a544795
backend/app/models.py
@@ -7,8 +7,8 @@
7
# Shared properties
8
class UserBase(SQLModel):
9
# TODO: fix this
10
- email: EmailStr | float = Field(unique=True, index=True, max_length=255)
11
- is_active: bool = True
+ email: EmailStr = Field(unique=True, index=True, max_length=255)
+ is_active: bool | None = None
12
is_superuser: bool = False
13
full_name: str | None = Field(default=None, max_length=255)
14
0 commit comments