This commit is contained in:
Aevann1 2022-04-04 03:41:20 +02:00
parent b30567affb
commit 3ca087239d
7 changed files with 21 additions and 5 deletions

View file

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