lang empty by default
This commit is contained in:
parent
857c17b3d4
commit
e53c45ed2f
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ from database import db, Optional, Required, PrimaryKey, db_session
|
||||||
class UserSetting(db.Entity):
|
class UserSetting(db.Entity):
|
||||||
|
|
||||||
id = PrimaryKey(int, auto=False, size=64) # Telegram User ID
|
id = PrimaryKey(int, auto=False, size=64) # Telegram User ID
|
||||||
lang = Optional(str, default='en_US') # The language setting for this user
|
lang = Optional(str, default='') # The language setting for this user
|
||||||
stats = Optional(bool, default=False) # Opt-in to keep game statistics
|
stats = Optional(bool, default=False) # Opt-in to keep game statistics
|
||||||
first_places = Optional(int, default=0) # Nr. of games won in first place
|
first_places = Optional(int, default=0) # Nr. of games won in first place
|
||||||
games_played = Optional(int, default=0) # Nr. of games completed
|
games_played = Optional(int, default=0) # Nr. of games completed
|
||||||
|
|
Loading…
Reference in a new issue