Skip to content

Commit

Permalink
Added uuid column to members table
Browse files Browse the repository at this point in the history
no-issue

This will be used for unsubscribe links
  • Loading branch information
allouis committed Nov 6, 2019
1 parent 45cd39c commit 389b034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/server/data/schema/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 389b034

Please sign in to comment.