This commit is contained in:
Aevann1 2022-02-13 13:02:44 +02:00
parent 1aece5cc06
commit 743f877663
4 changed files with 13 additions and 10 deletions

View file

@ -27,7 +27,7 @@ class Comment(Base):
bannedfor = Column(Boolean)
distinguish_level = Column(Integer, default=0)
deleted_utc = Column(Integer, default=0)
is_approved = Column(Integer, default=0)
is_approved = Column(Integer, ForeignKey("users.id"))
level = Column(Integer, default=0)
parent_comment_id = Column(Integer, ForeignKey("comments.id"))
top_comment_id = Column(Integer)