Skip to content

Instantly share code, notes, and snippets.

View AEnterprise's full-sized avatar
⚙️
Making the gears turn

AEnterprise

⚙️
Making the gears turn
View GitHub Profile
class LoggedMessage(Model):
id = BigIntField(pk=True, generated=False) # RENAMED FROM messageid
content = CharField(max_length=2000, collation="utf8mb4_general_ci", null=True)
author = BigIntField()
channel = BigIntField()
server = BigIntField()
type = IntField(null=True)
pinned = BooleanField(default=False)