mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2025-10-23 10:57:29 +03:00
Написал интерфейс взаимодействия с БД и покрыл тестами
This commit is contained in:
9
src/core/database/models/chats.py
Normal file
9
src/core/database/models/chats.py
Normal 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)
|
Reference in New Issue
Block a user