mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +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> |
||
---|---|---|
.. | ||
adapters | ||
data | ||
lib | ||
models | ||
services | ||
web | ||
notify.test.js | ||
overrides.test.js |