karkas/src/modules/standard/database/models/chats.py

10 lines
223 B
Python

import peewee as pw
class Chats(pw.Model):
class Meta:
...
chat_role = pw.IntegerField(null=False, default=1)
chat_stats = pw.IntegerField(null=False)
chat_federation = pw.IntegerField(null=False)