summaryrefslogtreecommitdiff
path: root/lib/models/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/user.js')
-rw-r--r--lib/models/user.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/models/user.js b/lib/models/user.js
index 62ed5cc7..019aab7e 100644
--- a/lib/models/user.js
+++ b/lib/models/user.js
@@ -31,6 +31,10 @@ module.exports = function (sequelize, DataTypes) {
refreshToken: {
type: DataTypes.STRING
},
+ deleteToken: {
+ type: DataTypes.UUID,
+ defaultValue: Sequelize.UUIDV4
+ },
email: {
type: Sequelize.TEXT,
validate: {