mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +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> |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.e2e.json | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
monobundle.js | ||
newrelic.js | ||
package.json | ||
playwright.config.js |