0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test
Kevin Ansfield b1aafd715d
Added members.email_{count,opened_count} column migrations (#12470)
refs https://github.com/TryGhost/Ghost/issues/12461

- adds `members.email_count` and `members.email_opened_count` columns to contain cached counts for faster queries when outputting member data via API
- adds migration to populate cached counts with existing data
  - tested locally on ~50k members which took ~4sec on mysql
- updates members output serializer to include the new fields in API output
2020-12-09 12:21:56 +00:00
..
api-acceptance Changed URL protocol in oembed acceptance tests 2020-12-03 21:46:01 +00:00
frontend-acceptance Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
regression Added email_open_rate order option to members API (#12462) 2020-12-08 12:43:48 +00:00
unit Added members.email_{count,opened_count} column migrations (#12470) 2020-12-09 12:21:56 +00:00
utils Added email_open_rate order option to members API (#12462) 2020-12-08 12:43:48 +00:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.json Enabled error for "no-shadow" eslint rule 2020-10-27 11:27:37 +13:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00