Set ReviewRequest.diffset_history to NULL on delete.

Review Request #13734 — Created April 16, 2024 and submitted

Information

Review Board
release-7.x

Reviewers

When a diffset history object is deleted, we don't actually want to
cascade and delete the review request. This change fixes that to set the
relation to NULL instead.

This is in preparation for a change that fixes it so we properly delete
the diffset history when deleting the review request (the opposite of
what the on_delete handler would previously do).

Ran the evolution.

Summary ID
Set ReviewRequest.diffset_history to NULL on delete.
When a diffset history object is deleted, we don't actually want to cascade and delete the review request. This change fixes that to set the relation to NULL instead. This is in preparation for a change that fixes it so we properly delete the diffset history when deleting the review request (the opposite of what the on_delete handler would previously do). Testing Done: Ran the evolution.
970067399920005e22da85d1dacb2aa2255ce733
Description From Last Updated

I think this is too many blank lines?

chipx86chipx86
maubin
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. Show all issues

    I think this is too many blank lines?

  3. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.x (f205937)