Ghost/ghost/core/test
Fabien 'egg' O'Carroll 616247b6d5
Indexed over members_newsletters(newsletter_id, member_id) (#19156)
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>
2023-11-28 12:20:14 +00:00
..
e2e-api Updated newsletter email verification to render the verified address (#19148) 2023-11-27 18:28:57 +00:00
e2e-browser Updated publishing spec to use a more consistent timezone (#18873) 2023-11-06 07:49:43 +00:00
e2e-frontend Fixed deleting session when requesting identity for invalid session (#19017) 2023-11-16 11:01:50 +00:00
e2e-server Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
e2e-webhooks Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
integration Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
regression Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
unit Indexed over members_newsletters(newsletter_id, member_id) (#19156) 2023-11-28 12:20:14 +00:00
utils Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
.eslintignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00