Daedalus and Talos integration test
All checks were successful
CI / backend-tests (push) Successful in 26s
CI / frontend-tests (push) Successful in 29s

This commit is contained in:
Julian Tabel
2026-03-20 16:31:19 +01:00
parent 5106e57685
commit c9d42b091f
44 changed files with 8345 additions and 31 deletions

View File

@@ -0,0 +1,16 @@
from sqlalchemy import SmallInteger, String
from sqlalchemy.orm import Mapped, mapped_column
from app.core.database import Base
class Move(Base):
__tablename__ = "moves"
id: Mapped[int] = mapped_column(primary_key=True)
name: Mapped[str] = mapped_column(String(50), unique=True)
introduced_gen: Mapped[int] = mapped_column(SmallInteger)
type: Mapped[str | None] = mapped_column(String(20))
def __repr__(self) -> str:
return f"<Move(id={self.id}, name='{self.name}', gen={self.introduced_gen})>"