mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
616247b6d5
refs https://github.com/TryGhost/Product/issues/4181 We were seeing slow queries when joining on this table, and the index speeds them up. The down migration is tricky because when we add the index MySQL can optimise away some `KEY` indexes on the `newsletter_id` column. When we then go to remove the newly created index, there is no index for the FK! We also remove the use of `force index` as 1. the index we're forcing is optimised away and 2. we don't need it anymore! Co-authored-by: Daniel Lockyer <hi@daniellockyer.com> |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
e2e-webhooks | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js |