Actions
Refactor #24256
closedGet rid of useless db indices and imrpove index ordering
Description
Both postesql and mysql know how to use partial indices, so there is no need to have multiple indices to cover the same columns.
Additionally, in some cases the indices order can be improved, e.g. for polymorphic relations, first index the relation type then the id.
Actions