country max_length
This commit is contained in:
parent
f899e0c0df
commit
b202f85d3b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class UserBase(SQLModel):
|
||||||
name: str = Field(primary_key=True)
|
name: str = Field(primary_key=True)
|
||||||
email: str | None = Field(default=None)
|
email: str | None = Field(default=None)
|
||||||
|
|
||||||
country: str | None = Field(default=None)
|
country: str | None = Field(default=None, max_length=2)
|
||||||
state: str | None = Field(default=None)
|
state: str | None = Field(default=None)
|
||||||
city: str | None = Field(default=None)
|
city: str | None = Field(default=None)
|
||||||
organization: str | None = Field(default=None)
|
organization: str | None = Field(default=None)
|
||||||
|
|
Loading…
Reference in a new issue