Show More
@@ -592,7 +592,7 b' class Repository(Base, BaseModel):' | |||
|
592 | 592 | followers = relationship('UserFollowing', primaryjoin='UserFollowing.follows_repo_id==Repository.repo_id', cascade='all') |
|
593 | 593 | |
|
594 | 594 | logs = relationship('UserLog') |
|
595 | comments = relationship('ChangesetComment') | |
|
595 | comments = relationship('ChangesetComment', cascade="all, delete, delete-orphan") | |
|
596 | 596 | |
|
597 | 597 | def __unicode__(self): |
|
598 | 598 | return u"<%s('%s:%s')>" % (self.__class__.__name__, self.repo_id, |
General Comments 0
You need to be logged in to leave comments.
Login now