Skip to content

Commit

Permalink
adding cascade to relationship of Subject
Browse files Browse the repository at this point in the history
  • Loading branch information
ooemperor committed Mar 25, 2024
1 parent ab4a044 commit 2c6734c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeGrader/backend/db/Exercise.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Exercise(Base):
"Task",
collection_class=ordering_list("name"),
order_by="[Task.name]",
# cascade="all",
cascade="all",
passive_deletes=True,
lazy="subquery",
join_depth=3,
Expand Down

0 comments on commit 2c6734c

Please sign in to comment.