0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Rishabh Garg 756f86dbdc
Added uuid to newsletter schema (#14600)
refs https://github.com/TryGhost/Team/issues/1561

With multiple newsletters, unsubscribe links will also need to have a unique reference to the newsletter that the email is for, so that we can unsubscribe members from the particular newsletter automatically when they click on the link.
As our existing pattern for members is to use UUID as the external unique reference, this change adds UUID to newsletter schema and populates the existing newsletters with a UUID value.

- adds new `uuid` column to newsletter schema
- updates newsletter model to add default uuid
- updates default newsletter migration to add `uuid`
- drops nullable on `uuid` column later in migrations once we have populated existing newsletters
2022-04-27 19:20:25 +05:30
..
client@bedc41d7bf Updated Admin to v4.45.0 2022-04-22 16:00:32 +01:00
frontend Moved cors middleware to own file 2022-04-19 11:19:59 +01:00
server Added uuid to newsletter schema (#14600) 2022-04-27 19:20:25 +05:30
shared Updated portal to manage single newsletter with existing UI (#14573) 2022-04-26 12:31:34 +01:00
app.js
boot.js Hooked up api version compatibility service 2022-04-22 16:31:56 +08:00
bridge.js 💡 Pinned frontend API version to canary 2022-02-17 17:55:55 +00:00