Ghost/test/unit/server/data
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
..
db Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
exporter Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00
importer 🐛 Fixed uppercase file extensions ignored in content import (#14268) 2022-03-11 09:17:58 +01:00
migrations Split apart DB init queries in tests 2022-03-28 16:17:17 +01:00
schema Added table to store multiple newsletters for member (#14408) 2022-04-04 18:11:36 +05:30