from typing import Optional

from sqlmodel import Field, SQLModel
from alchemical import Alchemical

db = Alchemical('sqlite:///users.sqlite', model_class=SQLModel)


class User(db.Model, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    name: str = 