• Sean McGivern's avatar
    Add table for merge request commits · aff5c9f3
    Sean McGivern authored
    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.
    aff5c9f3
merge_request_spec.rb 50.9 KB