base of sqlalchemy alembic

This commit is contained in:
2026-01-10 13:54:54 -05:00
parent b87f6b0b34
commit 0109167b10
9 changed files with 410 additions and 2 deletions

16
python/orm/temp.py Normal file
View File

@@ -0,0 +1,16 @@
"""Temporary ORM model."""
from __future__ import annotations
from sqlalchemy import String
from sqlalchemy.orm import Mapped, mapped_column
from python.orm.base import TableBase
class Temp(TableBase):
"""Temporary table for initial testing."""
__tablename__ = "temp"
name: Mapped[str] = mapped_column(String(255), nullable=False)