Skip to content

Commit

Permalink
Merge pull request #45 from ooemperor/dev
Browse files Browse the repository at this point in the history
changing relation ship for testcase executionresult to fix problem wh…
  • Loading branch information
ooemperor authored Mar 14, 2024
2 parents 5825daf + 9994b9f commit 106982a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeGrader/backend/db/ExecutionResult.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ExecutionResult(Base):

testcase_id = Column(
Integer,
ForeignKey(TestCase.id, onupdate="CASCADE"),
ForeignKey(TestCase.id, ondelete="SET NULL", onupdate="CASCADE"),
nullable=True,
index=True
)
Expand Down

0 comments on commit 106982a

Please sign in to comment.