summaryrefslogtreecommitdiff
path: root/app/models/merge_request_diff_commit.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add table for merge request commitsSean McGivern2017-07-061-0/+38
This is an ID-less table with just three columns: an association to the merge request diff the commit belongs to, the relative order of the commit within the merge request diff, and the commit SHA itself. Previously we stored much more information about the commits, so that we could display them even when they were deleted from the repo. Since 8.0, we ensure that those commits are kept around for as long as the target repo itself is, so we don't need to duplicate that data in the database.