Skip to content

Add index on labels title

username-removed-506061 requested to merge fix/index-labels-on-title into master

What does this MR do?

Add index on labels title

Are there points in the code the reviewer needs to double check?

N/A

Why was this MR needed?

One of the queries used in Groups::MilestonesController#show (counting number of issues per label) is doing a sequential scan on labels table, so it should help improve the loading time of that page.

Screenshots (if relevant)

N/A

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

N/A

Merge request reports

Loading