add .gitignore, remove pycache

This commit is contained in:
Alexander Kalinovsky
2025-01-04 14:28:42 +01:00
parent 6dbe0536ca
commit 7793a0cb77
54 changed files with 10 additions and 18 deletions

View File

@@ -13,7 +13,7 @@ class UserBase(BotEntity, table = False):
__tablename__ = "user"
lang: LanguageBase = Field(sa_type = EnumType(LanguageBase), default = LanguageBase.DEFAULT)
lang: LanguageBase = Field(sa_type = EnumType(LanguageBase), default = LanguageBase.EN)
is_active: bool = True
roles: list[RoleBase] = Field(sa_type=ARRAY(EnumType(RoleBase)), default = [RoleBase.DEFAULT_USER])