From e263eecd3951de72a67d00c26c95e9752179a39c Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 1 Jun 2017 20:56:46 +0200 Subject: enable trueskill --- models/match.js | 4 ++-- models/participant.js | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/models/match.js b/models/match.js index 24a483f..4faf015 100644 --- a/models/match.js +++ b/models/match.js @@ -36,11 +36,11 @@ module.exports = function(sequelize, DataTypes) { queue: { type: DataTypes.STRING(16), allowNull: false - }/*, + }, trueskill_quality: { type: "DOUBLE", allowNull: true - }*/ + } }, { tableName: 'match', timestamps: false, diff --git a/models/participant.js b/models/participant.js index 5791b56..0751c01 100644 --- a/models/participant.js +++ b/models/participant.js @@ -84,7 +84,7 @@ module.exports = function(sequelize, DataTypes) { winner: { type: DataTypes.INTEGER(1), allowNull: false - }/*, + }, trueskill_mu: { type: "DOUBLE", allowNull: true @@ -92,7 +92,11 @@ module.exports = function(sequelize, DataTypes) { trueskill_sigma: { type: "DOUBLE", allowNull: true - }*/ + }, + trueskill_delta: { + type: "DOUBLE", + allowNull: true + } }, { tableName: 'participant', timestamps: false, -- cgit v1.3.1