Add MegaMillionsDraw to test config

This commit is contained in:
chris committed 2026-03-04 12:57:35 -05:00
1 parent c157dcba28
commit dca8a4244e
1 file changed
+13
+13
View File
@@ -23,6 +23,19 @@ class PowerballDraw(Base):
power_play: Mapped[int] = mapped_column(Integer) power_play: Mapped[int] = mapped_column(Integer)
class MegaMillionsDraw(Base):
__tablename__ = 'mega_millions_draws'
draw_date: Mapped[datetime.date] = mapped_column(Date, primary_key=True)
main_ball1: Mapped[int] = mapped_column(Integer)
main_ball2: Mapped[int] = mapped_column(Integer)
main_ball3: Mapped[int] = mapped_column(Integer)
main_ball4: Mapped[int] = mapped_column(Integer)
main_ball5: Mapped[int] = mapped_column(Integer)
mega_ball: Mapped[int] = mapped_column(Integer)
megaplier: Mapped[int] = mapped_column(Integer)
@pytest.fixture(scope='session') @pytest.fixture(scope='session')
def db_engine() -> Generator[Engine, Any, None]: def db_engine() -> Generator[Engine, Any, None]:
# create a database connection engine # create a database connection engine