Написал интерфейс взаимодействия с БД и покрыл тестами

This commit is contained in:
ilyazheprog
2023-11-26 20:23:39 +07:00
parent 9dde0530d0
commit 8378625694
14 changed files with 201 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
from .base import BaseModel
import peewee as pw
class Chats(BaseModel):
chat_role = pw.IntegerField(null=False)
chat_stats = pw.IntegerField(null=False)
chat_federation = pw.IntegerField(null=False)