Add example model, route and logic for development testing and boilerplate

This commit is contained in:
Hannah 2026-08-04 22:23:47 +02:00
commit cac002e3e6
11 changed files with 80 additions and 0 deletions

View file

@ -0,0 +1,12 @@
from sqlmodel import SQLModel, Field
class ExampleModel(SQLModel, table=True):
id: int | None = Field(
default=None,
primary_key=True
)
example_text: str
example_number: int