aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'models.py')
-rw-r--r--models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/models.py b/models.py
index 2c04f67..3e60640 100644
--- a/models.py
+++ b/models.py
@@ -7,6 +7,7 @@ class Message(Base):
__tablename__ = "messages"
id = Column(Integer, primary_key=True, autoincrement=True)
+ timestamp = Column(String, nullable=False)
author_id = Column(Integer, nullable=False)
channel_id = Column(Integer, nullable=False)
stickers = Column(JSON, nullable=False, default=list)