Some checks failed
Build Docker Image / build (push) Has been cancelled
Separate batting and pitching into distinct tables with descriptive column names. Eliminates naming collisions (so/k ambiguity) and column mismatches between the ORM model and raw SQL. Each table now covers all aggregatable fields from its source (BattingStat/PitchingStat) including sac, ibb, gidp, earned_runs, runs_allowed, wild_pitches, balks, and games_started. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8 lines
261 B
Python
8 lines
261 B
Python
"""Season stats ORM models.
|
|
|
|
Models are defined in db_engine alongside all other Peewee models; this
|
|
module re-exports them so callers can import from `app.models.season_stats`.
|
|
"""
|
|
|
|
from ..db_engine import BattingSeasonStats, PitchingSeasonStats # noqa: F401
|