Revert "Fix circular dependency on project deletion"

This reverts commit 8aa3a33e9b.
This commit is contained in:
Drew DeVault 2020-04-30 10:11:00 -04:00
parent 8aa3a33e9b
commit a32c72e135
1 changed files with 1 additions and 2 deletions

View File

@ -28,5 +28,4 @@ class Project(Base):
sa.ForeignKey("source_repo.id", ondelete="CASCADE"))
summary_repo = sa.orm.relationship("SourceRepo",
foreign_keys=[summary_repo_id],
cascade="all, delete",
post_update=True)
cascade="all, delete")