• Jan Provaznik's avatar
    Denormalize commits count for merge request diffs · e6a1db6d
    Jan Provaznik authored
    For each MR diff an extra 'SELECT COUNT()' is executed
    to get number of commits for the diff. Overall time to get counts for
    all MR diffs may be quite expensive. To speed up loading of MR info,
    information about number of commits is stored in a MR diff's extra column.
    
    Closes #38068
    e6a1db6d
schema.rb 94.9 KB