From 34df7ccce83bebec1db3b6995eb25cb6fe4fdbd4 Mon Sep 17 00:00:00 2001 From: Pedro Ferreira Date: Mon, 10 Jul 2017 20:09:59 +0200 Subject: Use TEXT instead of STRING for tokens Signed-off-by: Pedro Ferreira --- lib/models/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/models/user.js') 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, -- cgit v1.2.3