diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-12-28 13:11:24 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-12-28 13:11:24 +0100 |
| commit | 5ba42c3cd059d725a26b8d4967bc0278208e1e1b (patch) | |
| tree | 177db297d1510d93a0a80ee088edb45cf26d8848 | |
| parent | ad1ad2e29d829acfcba04cd242ad04412ef1e2e7 (diff) | |
| download | orm-5ba42c3cd059d725a26b8d4967bc0278208e1e1b.tar.gz orm-5ba42c3cd059d725a26b8d4967bc0278208e1e1b.zip | |
reimport
| -rw-r--r-- | models/participant_items.js | 24 | ||||
| -rw-r--r-- | models/player.js | 46 | ||||
| -rw-r--r-- | models/player_point.js | 24 |
3 files changed, 59 insertions, 35 deletions
diff --git a/models/participant_items.js b/models/participant_items.js index b90fc50..7ea4a9f 100644 --- a/models/participant_items.js +++ b/models/participant_items.js @@ -48,6 +48,30 @@ module.exports = function(sequelize, DataTypes) { any_afk: { type: DataTypes.INTEGER(3).UNSIGNED, allowNull: true + }, + trueskill_casual_mu: { + type: "DOUBLE", + allowNull: true + }, + trueskill_casual_sigma: { + type: "DOUBLE", + allowNull: true + }, + trueskill_blitz_mu: { + type: "DOUBLE", + allowNull: true + }, + trueskill_blitz_sigma: { + type: "DOUBLE", + allowNull: true + }, + trueskill_br_mu: { + type: "DOUBLE", + allowNull: true + }, + trueskill_br_sigma: { + type: "DOUBLE", + allowNull: true } }, { tableName: 'participant_items', diff --git a/models/player.js b/models/player.js index ebfba5b..4a33acb 100644 --- a/models/player.js +++ b/models/player.js @@ -61,6 +61,26 @@ module.exports = function(sequelize, DataTypes) { type: "DOUBLE", 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 + }, rank_points_ranked: { type: "DOUBLE", allowNull: true @@ -69,28 +89,32 @@ module.exports = function(sequelize, DataTypes) { type: "DOUBLE", allowNull: true }, - played_ranked: { + played_blitz_rounds: { type: DataTypes.INTEGER(11), allowNull: true }, - played_casual: { - type: DataTypes.INTEGER(11), + trueskill_casual_mu: { + type: "DOUBLE", allowNull: true }, - played_blitz: { - type: DataTypes.INTEGER(11), + trueskill_casual_sigma: { + type: "DOUBLE", allowNull: true }, - played_blitz_rounds: { - type: DataTypes.INTEGER(11), + trueskill_blitz_mu: { + type: "DOUBLE", allowNull: true }, - played_aral: { - type: DataTypes.INTEGER(11), + trueskill_blitz_sigma: { + type: "DOUBLE", allowNull: true }, - guild_tag: { - type: DataTypes.STRING(191), + trueskill_br_mu: { + type: "DOUBLE", + allowNull: true + }, + trueskill_br_sigma: { + type: "DOUBLE", allowNull: true } }, { diff --git a/models/player_point.js b/models/player_point.js index 84b443b..3b7c363 100644 --- a/models/player_point.js +++ b/models/player_point.js @@ -48,30 +48,6 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.BIGINT, allowNull: false }, - trueskill_max: { - type: "DOUBLE", - allowNull: true - }, - trueskill_ranked_max: { - type: "DOUBLE", - allowNull: true - }, - trueskill_delta: { - type: "DOUBLE", - allowNull: true - }, - trueskill_mu: { - type: "DOUBLE", - allowNull: true - }, - trueskill_sigma: { - type: "DOUBLE", - allowNull: true - }, - elo: { - type: "DOUBLE", - allowNull: true - }, kills: { type: DataTypes.INTEGER(10).UNSIGNED, allowNull: true |
