diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-15 20:07:05 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-15 20:07:05 +0200 |
| commit | 6a1d82c1536a0893156144db4f19d8023a93ee32 (patch) | |
| tree | c37c5267a3612786d6c994916bdc10a5baa0b122 /models/users.js | |
| parent | 93e91315ee7161b581f7f9e2a7e3fd9f82a2ba2b (diff) | |
| download | orm-6a1d82c1536a0893156144db4f19d8023a93ee32.tar.gz orm-6a1d82c1536a0893156144db4f19d8023a93ee32.zip | |
update participant_phases for blobs
Diffstat (limited to 'models/users.js')
| -rw-r--r-- | models/users.js | 16 |
1 files changed, 7 insertions, 9 deletions
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: { |
