users and status working
This commit is contained in:
6
app/routers/status_model.py
Normal file
6
app/routers/status_model.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from sqlmodel import SQLModel, Field
|
||||
|
||||
|
||||
class Status(SQLModel):
|
||||
id: str | None = Field(max_length=3, primary_key=True)
|
||||
name: str = Field(max_length=30, unique=True)
|
||||
Reference in New Issue
Block a user