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.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5840 added
Updated by Lukas Zapletal over 6 years ago
- Related to Refactor #24573: Adding missing foreign keys and indices added
Updated by Tomer Brisker over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 672149bad448513e455e90450241d01df2beb088.
Actions