##// END OF EJS Templates
db: use explicit backref definition for sqlalchemy for code analytics not to report errors.
marcink -
r3347:9cc1ff03 default
parent child Browse files
Show More
@@ -3378,7 +3378,10 b' class ChangesetComment(Base, BaseModel):'
3378
3378
3379 comment_type = Column('comment_type', Unicode(128), nullable=True, default=COMMENT_TYPE_NOTE)
3379 comment_type = Column('comment_type', Unicode(128), nullable=True, default=COMMENT_TYPE_NOTE)
3380 resolved_comment_id = Column('resolved_comment_id', Integer(), ForeignKey('changeset_comments.comment_id'), nullable=True)
3380 resolved_comment_id = Column('resolved_comment_id', Integer(), ForeignKey('changeset_comments.comment_id'), nullable=True)
3381 resolved_comment = relationship('ChangesetComment', remote_side=comment_id, backref='resolved_by')
3381
3382 resolved_comment = relationship('ChangesetComment', remote_side=comment_id, back_populates='resolved_by')
3383 resolved_by = relationship('ChangesetComment', back_populates='resolved_comment')
3384
3382 author = relationship('User', lazy='joined')
3385 author = relationship('User', lazy='joined')
3383 repo = relationship('Repository')
3386 repo = relationship('Repository')
3384 status_change = relationship('ChangesetStatus', cascade="all, delete, delete-orphan", lazy='joined')
3387 status_change = relationship('ChangesetStatus', cascade="all, delete, delete-orphan", lazy='joined')
General Comments 0
You need to be logged in to leave comments. Login now