room name length
This commit is contained in:
parent
4b045983c7
commit
0a7d4ff80a
|
@ -11,7 +11,7 @@ if TYPE_CHECKING:
|
||||||
|
|
||||||
|
|
||||||
class RoomBase(SQLModel):
|
class RoomBase(SQLModel):
|
||||||
name: str = Field(max_length=20)
|
name: str = Field(max_length=20, min_length=3)
|
||||||
public: bool = Field(default=False)
|
public: bool = Field(default=False)
|
||||||
global_results: bool = Field(default=False)
|
global_results: bool = Field(default=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue