0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/unit
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
..
api Removed unnecessary snippets serializer 2022-03-29 15:51:45 +01:00
frontend Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00
server Added table to store multiple newsletters for member (#14408) 2022-04-04 18:11:36 +05:30
shared Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00