0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/unit/data
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
..
db
exporter Removed use of deprecated setting flags from the codebase 2020-06-23 11:58:19 +12:00
importer Fixed test for ignoring member email address' 2020-10-15 16:05:49 +05:30
meta Refactored core/server/lib/image for Dependency Injection (#12463) 2020-12-09 13:19:22 +01:00
migrations Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
schema Added members.email_{count,opened_count} column migrations (#12470) 2020-12-09 12:21:56 +00:00
validation Improved settings validation (#12048) 2020-07-15 17:11:27 +02:00
xml/sitemap Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00