idac: hotfix database upgrade script

This commit is contained in:
Dniel97 2024-06-13 00:08:23 +02:00
parent ba5591cd81
commit 8b9e1f94e6
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08
2 changed files with 6 additions and 2 deletions

View File

@ -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),

View File

@ -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/"