From 5804c0db337ecf492fc61b98a3de7b730a0d8ce3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 18 Feb 2017 11:56:28 +0100 Subject: Server: fix migration scripts --- server/models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models') diff --git a/server/models/user.js b/server/models/user.js index 35a98dd6b..24e710fa7 100644 --- a/server/models/user.js +++ b/server/models/user.js @@ -33,7 +33,7 @@ module.exports = function (sequelize, DataTypes) { } }, email: { - type: DataTypes.STRING, + type: DataTypes.STRING(400), allowNull: false, validate: { isEmail: true -- cgit v1.2.3