build 122 - стартовые пятерки

This commit is contained in:
2026-08-26 14:56:15 +03:00
parent 41ca064b3b
commit fe164c17f2
6 changed files with 529 additions and 22 deletions

View File

@@ -683,6 +683,12 @@ class GameRoster(Base):
position_ru: Mapped[str] = mapped_column(String(64), nullable=False, default="")
position_en: Mapped[str] = mapped_column(String(64), nullable=False, default="")
line_number: Mapped[str] = mapped_column(String(16), nullable=False, default="")
# BUILD122: the API line stays available as a baseline, while operators may
# override the effective line/order without a later Stat2TV refresh erasing it.
api_line_number: Mapped[str] = mapped_column(String(16), nullable=False, default="")
api_line_sort_order: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
line_sort_order: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
line_manual: Mapped[bool] = mapped_column(Boolean, nullable=False, default=False)
captain_role: Mapped[str] = mapped_column(String(32), nullable=False, default="")
lineup_status: Mapped[str] = mapped_column(String(64), nullable=False, default="")
raw_payload: Mapped[str] = mapped_column(Text, nullable=False, default="")