From 6a1d82c1536a0893156144db4f19d8023a93ee32 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 15 Aug 2017 20:07:05 +0200 Subject: update participant_phases for blobs --- models/users.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'models/users.js') diff --git a/models/users.js b/models/users.js index 853e441..b82ba74 100644 --- a/models/users.js +++ b/models/users.js @@ -14,24 +14,22 @@ module.exports = function(sequelize, DataTypes) { }, user_token: { type: DataTypes.CHAR(36), - allowNull: false, - defaultValue: '-1' + allowNull: true }, player_api_id: { type: DataTypes.CHAR(36), - allowNull: true, - defaultValue: '' + allowNull: true }, email: { - type: DataTypes.STRING(100), - allowNull: true + type: DataTypes.STRING(191), + allowNull: false }, password: { - type: DataTypes.STRING(100), - allowNull: true + type: DataTypes.STRING(191), + allowNull: false }, remember_token: { - type: DataTypes.STRING(255), + type: DataTypes.STRING(191), allowNull: true }, access_type: { -- cgit v1.3.1