sfdfsd
This commit is contained in:
parent
56c0fe2f9e
commit
8c13a0c879
2 changed files with 17 additions and 1 deletions
|
@ -56,7 +56,7 @@ class CommentVote(Base):
|
|||
app_id = Column(Integer, ForeignKey("oauth_apps.id"))
|
||||
real = Column(Boolean, default=True)
|
||||
|
||||
user = relationship("User", lazy="subquery", viewonly=True)
|
||||
user = relationship("User", lazy="subquery")
|
||||
comment = relationship("Comment", lazy="subquery", viewonly=True)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue