diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-12-10 12:38:08 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-12-10 12:38:08 +0100 |
| commit | f68df5b90b37456b14b82dfbba6d240766d27c4a (patch) | |
| tree | eda8f39a77bdf675f50538a5b910642b31fac22e /models/player.js | |
| parent | 1b505546bdbceb4e705056afbb7a0c1a24e26a22 (diff) | |
| download | orm-f68df5b90b37456b14b82dfbba6d240766d27c4a.tar.gz orm-f68df5b90b37456b14b82dfbba6d240766d27c4a.zip | |
update jsonapi: do not merge jsonapi+flat json; update models
Diffstat (limited to 'models/player.js')
| -rw-r--r-- | models/player.js | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/models/player.js b/models/player.js index 11e5db3..d4ba62e 100644 --- a/models/player.js +++ b/models/player.js @@ -41,10 +41,6 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.INTEGER(11), allowNull: false }, - lifetime_gold: { - type: "DOUBLE(8,2)", - allowNull: false - }, skill_tier: { type: DataTypes.INTEGER(6), allowNull: true @@ -68,6 +64,34 @@ module.exports = function(sequelize, DataTypes) { trueskill_ranked_sigma: { type: "DOUBLE", allowNull: true + }, + rank_points_ranked: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + rank_points_blitz: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + played_ranked: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + played_casual: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + played_blitz: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + played_aral: { + type: DataTypes.INTEGER(11), + allowNull: true + }, + guild_tag: { + type: DataTypes.STRING(191), + allowNull: true } }, { tableName: 'player', |
