Spectator: fix data type

This commit is contained in:
Fabian Dill
2022-02-23 04:02:11 +01:00
parent 534ce179ec
commit 4c64c5ad05
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ STATE_ERROR = -1
class Slot(db.Entity):
id = PrimaryKey(int, auto=True)
player_id = Required(int)
player_name = Required(str, 16)
player_name = Required(str)
data = Optional(bytes, lazy=True)
seed = Optional('Seed')
game = Required(str)