summaryrefslogtreecommitdiff
path: root/models/participant.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-24 20:48:35 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-24 20:48:35 +0200
commitcee339e514bbafbca0779e370bfb480a24f53beb (patch)
treee3ac804a27b79a0414ef1a8f45f052d22a4591e6 /models/participant.js
parentdebcb308754d2a9e1f1ab76d6355ad4f2242a5c2 (diff)
downloadorm-cee339e514bbafbca0779e370bfb480a24f53beb.tar.gz
orm-cee339e514bbafbca0779e370bfb480a24f53beb.zip
add trueskill attrs
Diffstat (limited to 'models/participant.js')
-rw-r--r--models/participant.js8
1 files changed, 8 insertions, 0 deletions
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',