summaryrefslogtreecommitdiff
path: root/lib/models
diff options
context:
space:
mode:
authorPedro Ferreira2017-07-10 20:09:59 +0200
committerPedro Ferreira2018-03-26 15:55:39 +0200
commit34df7ccce83bebec1db3b6995eb25cb6fe4fdbd4 (patch)
tree0b20a9c3f4135e9a74cff117793fef77a772f823 /lib/models
parent40b385570291278f44806446f702ee61e1382805 (diff)
Use TEXT instead of STRING for tokens
Signed-off-by: Pedro Ferreira <pedro.ferreira@cern.ch>
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/user.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/user.js b/lib/models/user.js
index f421fe43..ea249726 100644
--- a/lib/models/user.js
+++ b/lib/models/user.js
@@ -26,10 +26,10 @@ module.exports = function (sequelize, DataTypes) {
type: DataTypes.TEXT
},
accessToken: {
- type: DataTypes.STRING
+ type: DataTypes.TEXT
},
refreshToken: {
- type: DataTypes.STRING
+ type: DataTypes.TEXT
},
email: {
type: Sequelize.TEXT,