From 9007f63568c60d4033e278946765dcc42e8fb1b4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 6 Oct 2021 07:00:35 +0200 Subject: [PATCH] fds --- files/classes/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 637281e4a..f27499af9 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -34,7 +34,7 @@ class Comment(Base): over_18 = Column(Boolean, default=False) is_bot = Column(Boolean, default=False) is_pinned = Column(String(25)) - sentto=Column(Integer) + sentto=Column(Integer, ForeignKey("users.id")) notifiedto=Column(Integer) app_id = Column(Integer, ForeignKey("oauth_apps.id")) oauth_app = relationship("OauthApp", viewonly=True)