0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/test/unit/server
Rishabh Garg ee0a6910ce
Added table to store multiple newsletters for member (#14408)
refs https://github.com/TryGhost/Team/issues/1469

With multiple newsletters, members will now be able to subscribe to one or more newsletters on the site. Previously, the subscription to default newsletter for a member was controlled via a single boolean `subscribed` column on the member table.
This change allows mapping multiple newsletters to a member via new pivot table that stores relation between a member and newsletter.

- adds new `members_newsletters` pivot table
- update tests
2022-04-04 18:11:36 +05:30
..
adapters Added ability to delete existing files through storage adapters 2021-11-09 16:07:23 +04:00
data Added table to store multiple newsletters for member (#14408) 2022-04-04 18:11:36 +05:30
lib Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00
models Updated SingleUseToken grace period to 10 minutes (#13926) 2022-01-03 17:55:53 +02:00
services Renamed stats endpoint to /stats/member-count and added totals metadata 2022-03-31 17:05:08 +02:00
web 🐛 Fixed theme activation with capitalized names 2022-03-09 20:07:04 +13:00
notify.test.js Fixed notify library tests 2021-12-06 08:20:39 +00:00
overrides.test.js