don't require email

This commit is contained in:
Jörn-Michael Miehe 2022-03-28 01:00:07 +00:00
parent 396359ceff
commit 22e1ef7bf4

View file

@ -14,7 +14,7 @@ from .device import Device
class UserBase(SQLModel):
name: str = Field(primary_key=True)
email: str
email: str | None = Field(default=None)
country: str | None = Field(default=None)
state: str | None = Field(default=None)