Closed GeoffreyHuck closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
a5b3c35
) to head (11558ab
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Add index in table
permissions_propagate
on (propagate_to
,group_id
,item_id
).The first query of the
permissions propagation
step was very slow, because of the filter onpropagate_to
. There was an index onpropagate_to
, but it wasn't used because the rows also had to be filtered bygroup_id
+item_id
.We also remove the old index containing only
propagate_to
, because the new index can also be used as this (the first column ispropagate_to
).