fix(beatmap): make max_combo nullable

This commit is contained in:
MingxuanGame
2025-08-13 15:39:24 +00:00
parent e180dcfbd6
commit 3f5b242c6f
2 changed files with 39 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ class BeatmapBase(SQLModel):
# optional
checksum: str = Field(sa_column=Column(VARCHAR(32), index=True))
current_user_playcount: int = Field(default=0)
max_combo: int = Field(default=0)
max_combo: int | None = Field(default=0)
# TODO: failtimes, owners
# BeatmapExtended