0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Added uuid column to members table

no-issue

This will be used for unsubscribe links
This commit is contained in:
Fabien O'Carroll 2019-11-05 17:01:02 +07:00
parent 45cd39c386
commit 389b034875

View file

@ -323,6 +323,7 @@ module.exports = {
},
members: {
id: {type: 'string', maxlength: 24, nullable: false, primary: true},
uuid: {type: 'string', maxlength: 36, nullable: true, unique: true, validations: {isUUID: true}},
email: {type: 'string', maxlength: 191, nullable: false, unique: true, validations: {isEmail: true}},
name: {type: 'string', maxlength: 191, nullable: true},
note: {type: 'string', maxlength: 2000, nullable: true},