This commit is contained in:
2022-01-01 19:34:46 +03:00
parent 44cbfc4f59
commit e1389700cc
16 changed files with 920 additions and 69 deletions

View File

@@ -20,7 +20,7 @@ class Language(ormar.Model):
class User(ormar.Model):
class Meta(BaseMeta):
tablename = "user_settings"
id: int = ormar.Integer(primary_key=True) # type: ignore
user_id: int = ormar.BigInteger(unique=True) # type: ignore