remotes/1693045480750635534/spooky-22
Aevann1 2021-09-23 18:08:31 +02:00
parent 1af15ed76c
commit 2622097de1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Comment(Base):
__tablename__ = "comments"
id = Column(Integer, primary_key=True)
comment_aux = relationship("CommentAux", uselist=False, primaryjoin="Comment.id==CommentAux.id")
comment_aux = relationship("CommentAux", lazy="joined", uselist=False, innerjoin=True, primaryjoin="Comment.id==CommentAux.id")
author_id = Column(Integer, ForeignKey("users.id"))
parent_submission = Column(Integer, ForeignKey("submissions.id"))
created_utc = Column(Integer, default=0)