diff options
| -rw-r--r-- | models/match.js | 4 | ||||
| -rw-r--r-- | models/participant.js | 8 | ||||
| -rw-r--r-- | models/player.js | 8 |
3 files changed, 20 insertions, 0 deletions
diff --git a/models/match.js b/models/match.js index a8d78bf..4faf015 100644 --- a/models/match.js +++ b/models/match.js @@ -36,6 +36,10 @@ module.exports = function(sequelize, DataTypes) { queue: { type: DataTypes.STRING(16), allowNull: false + }, + trueskill_quality: { + type: "DOUBLE", + allowNull: true } }, { tableName: 'match', diff --git a/models/participant.js b/models/participant.js index b5166b3..f545fb3 100644 --- a/models/participant.js +++ b/models/participant.js @@ -84,6 +84,14 @@ module.exports = function(sequelize, DataTypes) { winner: { type: DataTypes.INTEGER(1), allowNull: false + }, + trueskill_mu: { + type: "DOUBLE", + allowNull: true + }, + trueskill_sigma: { + type: "DOUBLE", + allowNull: true } }, { tableName: 'participant', diff --git a/models/player.js b/models/player.js index 6df229f..8851db7 100644 --- a/models/player.js +++ b/models/player.js @@ -48,6 +48,14 @@ module.exports = function(sequelize, DataTypes) { skill_tier: { type: DataTypes.INTEGER(6), allowNull: true + }, + trueskill_mu: { + type: "DOUBLE", + allowNull: true + }, + trueskill_sigma: { + type: "DOUBLE", + allowNull: true } }, { tableName: 'player', |
