-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(releases): Clear the commits associated to a release (#28831)
Objective: This PR creates a new clear_commits method on the Release model to delete the associated ReleaseCommits and ReleaseHeadCommit and reset the commit related metadata for the release. We will not delete the rows in the Commit table because they may be used for another release.
- Loading branch information
NisanthanNanthakumar
authored
Oct 4, 2021
1 parent
e66ec0c
commit bf6292e
Showing
3 changed files
with
108 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters