• Sean McGivern's avatar
    Improve indexes on merge_request_diffs · 484ae2ee
    Sean McGivern authored
    For getting the SHAs from an MR to find pipelines, we get the last 100 MR diffs
    for the MR, and find commits from those. This was un-indexed before, because the
    index was not a composite index on merge_request_diff_id, id. Changing that
    means that this scope can exclusively use indexes.
    484ae2ee
schema.rb 92.9 KB