]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/user.js
Server: fix migration scripts
[github/Chocobozzz/PeerTube.git] / server / models / user.js
index 35a98dd6b430cc725d4bb64bebd155f2fa522ecc..24e710fa71c6ff1d36dac846dacb83c91ba3d092 100644 (file)
@@ -33,7 +33,7 @@ module.exports = function (sequelize, DataTypes) {
         }
       },
       email: {
-        type: DataTypes.STRING,
+        type: DataTypes.STRING(400),
         allowNull: false,
         validate: {
           isEmail: true