0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit
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
..
adapters Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
api 🐛 Fixed page preview 2020-12-04 11:35:15 +01:00
apps Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
data Added members.email_{count,opened_count} column migrations (#12470) 2020-12-09 12:21:56 +00:00
helpers Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
lib Refactored core/server/lib/image for Dependency Injection (#12463) 2020-12-09 13:19:22 +01:00
models Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
server Fixed settings reinit to only emit changed settings events (#12184) 2020-09-23 14:35:03 +01:00
services Supported redirecting externally after signup (#12391) 2020-11-23 09:36:45 +00:00
shared/config Updated tests locations and added linting of core/shared (#11872) 2020-06-01 22:06:50 +01:00
web Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00