chuni: add userbox sub trophy, fix unlock challenge

This commit is contained in:
Dniel97
2025-08-31 19:49:06 +02:00
parent 3c7ac3ac58
commit 415bbc92b3
6 changed files with 73 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ def upgrade():
mysql_charset="utf8mb4",
)
op.create_tablee(
op.create_table(
"chuni_item_unlock_challenge",
sa.Column("id", sa.Integer(), primary_key=True, nullable=False),
sa.Column("version", sa.Integer(), nullable=False),
@@ -59,7 +59,7 @@ def upgrade():
sa.Column("conditionType", sa.Integer()),
sa.Column("score", sa.Integer()),
sa.Column("life", sa.Integer()),
sa.Column("clearDate", sa.Integer()),
sa.Column("clearDate", sa.TIMESTAMP(), server_defaul=func.now()),
sa.UniqueConstraint(
"version",
"user",