don't require email
This commit is contained in:
parent
396359ceff
commit
22e1ef7bf4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ from .device import Device
|
||||||
|
|
||||||
class UserBase(SQLModel):
|
class UserBase(SQLModel):
|
||||||
name: str = Field(primary_key=True)
|
name: str = Field(primary_key=True)
|
||||||
email: str
|
email: str | None = Field(default=None)
|
||||||
|
|
||||||
country: str | None = Field(default=None)
|
country: str | None = Field(default=None)
|
||||||
state: str | None = Field(default=None)
|
state: str | None = Field(default=None)
|
||||||
|
|
Loading…
Reference in a new issue