From 8b9e1f94e6c02106259196ae439ac2c066126bd4 Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Thu, 13 Jun 2024 00:08:23 +0200 Subject: [PATCH] idac: hotfix database upgrade script --- .../versions/202d1ada1b39_idac_rounds_event_info_added.py | 3 +++ titles/idac/season2.py | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/data/alembic/versions/202d1ada1b39_idac_rounds_event_info_added.py b/core/data/alembic/versions/202d1ada1b39_idac_rounds_event_info_added.py index ac00d65..5868ecc 100644 --- a/core/data/alembic/versions/202d1ada1b39_idac_rounds_event_info_added.py +++ b/core/data/alembic/versions/202d1ada1b39_idac_rounds_event_info_added.py @@ -18,6 +18,9 @@ depends_on = None def upgrade(): + op.drop_table("idac_round_info") + op.drop_table("idac_user_round_info") + op.create_table( "idac_round_info", sa.Column("id", sa.Integer(), nullable=False), diff --git a/titles/idac/season2.py b/titles/idac/season2.py index 6d4a896..96b7f39 100644 --- a/titles/idac/season2.py +++ b/titles/idac/season2.py @@ -618,10 +618,11 @@ class IDACSeason2(IDACBase): async def handle_boot_gettimereleasedata_request(self, data: Dict, headers: Dict): """ timerelease chapter: - 1 = Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11 lol?) + 1 = Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11) 2 = MF Ghost: 10, 11, 12, 13, 14, 15 3 = Bunta: 15, 16, 17, 18, 20, 21, 21, 22 - 4 = Special Event: 23, 24, 25, 26, 27, 28 (Touhou Project) + 4 = Touch Project Special Event: 23, 24, 25, 26, 27, 28 + 5 = Hatsune Miku Special Event: 36, 37, 38 """ path = "./titles/idac/data/"