diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-01 20:56:46 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-01 20:56:46 +0200 |
| commit | e263eecd3951de72a67d00c26c95e9752179a39c (patch) | |
| tree | fbe5155c20f6d89025bcf4475e5a4595d12e5a67 /models | |
| parent | 2f54618895f80afc26e738f06aebb88fda6342f7 (diff) | |
| download | orm-e263eecd3951de72a67d00c26c95e9752179a39c.tar.gz orm-e263eecd3951de72a67d00c26c95e9752179a39c.zip | |
enable trueskillrelease/2.5.0
Diffstat (limited to 'models')
| -rw-r--r-- | models/match.js | 4 | ||||
| -rw-r--r-- | 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, |
