diff options
Diffstat (limited to 'models/users.js')
| -rw-r--r-- | models/users.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/models/users.js b/models/users.js index 2f62f59..089b480 100644 --- a/models/users.js +++ b/models/users.js @@ -14,11 +14,23 @@ module.exports = function(sequelize, DataTypes) { }, user_token: { type: DataTypes.CHAR(36), - allowNull: false + allowNull: true }, player_api_id: { type: DataTypes.CHAR(36), + allowNull: true + }, + email: { + type: DataTypes.STRING(191), + allowNull: false + }, + password: { + type: DataTypes.STRING(191), allowNull: false + }, + remember_token: { + type: DataTypes.STRING(191), + allowNull: true } }, { tableName: 'users', |
